Seriously, once PowerToys is installed, all you have to do is right-click on the offending file and choose "Unlock with Locksmith." Then a window pops up telling you exactly what program is locking ...
Using the tool is super easy. In Windows Explorer, right-click the file that’s obstinately refusing to be deleted (or in use in any other way), then click “What’s using this file?” The File Locksmith ...