You should be able to delete the file now. Once found, select it and click on “End Process” to stop it.
The “Description” section will help you find the right process. Look for a process associated with a program that could open your particular file. To fix this, press the Ctrl + Shift + Esc keys to fire up the Task Manager and move to the processes tab. Therefore, even when no program has the file opened in it, Windows will still say that a program is using the file.
Furthermore, there is a chance a program might have a hidden process that may still be using the file.