Move RemoteLock
Add lock state machine