How do I close a file that is open in another program?
Locate the File in Task Manager
Look for the file in the Processes tab which shows you all the applications that are currently being used, whether with or without your knowledge. Select the file and tap on the “End Task” option near the bottom of the Manager window to stop the file from being used by a program.