Delete locked file, and other hidden actions
Process Explorer lets you find what process ahs a file lock.
https://www.howtogeek.com/128680/how-to-delete-move-or-rename-locked-files-in-windows/
https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer