Simple Lock in Go