adding the lock level feature