Changed lock service to use logical clocks. log last unlock and lock