locking works