enhanced locking