Add lock.go