What lock file, I do not see it in that screenshot. Is it lower down? But what is with that first file? PS icon, but LrC file, and a description of lock file but no file extension indicating such?? Ahhh, you did a search, that just confuses the issue. Actually select the folder your actual current working catalog is in, and show that folder. Also, you clearly have MS account in use to log on to your Windows computer, fine, but that forced the use of OneDrive upon you, specifically auto sync of various user system library's with OneDrive. (User, Documents, Downloads, Pictures, Videos, Music, others?) As a result your LrC catalog is syncing to OneDrive. Some say that is a solution made in heaven, others say hell. That situation can slow LrC performance down. Each and every edit in the catalog and it syncs to OneDrive. And if you are having a bad Internet access day, even worse. And in rare situations, the catalog can get corrupted. Consider either disassociating the folder the catalog is in with OneDrive, or create a root level folder, that Is not syncing to OneDrive, and move the catalog (make sure you have good backups) name the folder as you see fit, but not pictures, etc, perhaps something like MyPhotography, MyLightroom,Rumpelstiltskin, GrumpOldBugger, anything other than the existing user system folders.
... View more