add the lock