[Command] Added an helper to lock a command