Initiate key locking.