Undoing all locks