remove a global lock.