Update LockCommand.java