Support GetAndLock command.