Getting a ‘locked file’ error?
It also covers how to tell if a file is locked, and how to back it up.
All operating systems use locked files.

Often times, however, that doesn’t happen, complicating the process.
In this case, you’re free to’t be sure which program it is.
When this happens, theShared Folderstool in Computer Management comes in really handy.

Just tap-and-hold or right-punch the open file or folder and chooseClose Open File.
you’re free to just delete the LCK files associated with the virtual machine in question.
Once a file is unlocked, it can be edited or moved like any other file.

How to Back Up Locked Files
Locked files can also be a problem for automatic backup tools.
EnterVolume Shadow Copy Service, orVSS.
Others might use the .LOCK file extension or something similar.