Nuacht

This post will show you how to lock a file or folder in Windows 11/10. You can use the built-in method to encrypt folders or third-party apps.
Windows won't let you delete, move, or rename a file if a program is using it. Frustratingly, it also won't tell you which program is using the file so that you can solve the problem.