Layer Skip: Fix a problem in the lock.