Remove commands for lock and unlock.