remove the lock