Key's locking