Add lock-current-room function.