[Support] Modify LockFileManager::waitForUnlock() to return info about how the lock was released.