Windows File Explorer claims that the file you are trying to delete is open in another program or system? If you cannot open, edit or delete a file, it is because it is still running in the background or has not been closed correctly.
Fortunately, you can force a file that you use to close, rename, move or delete.
To delete or rename a used file: Close Windows Explorer
If you have closed all your applications and still cannot delete a file, it is probably because Windows Explorer is accessing the file, perhaps to display a thumbnail.
You can move all the other files in the folder to a temporary folder, then delete the folder that contains the real estate file, but if this still doesn’t work, try closing Windows Explorer. To do this, launch the Task Manager (right-click on the task bar and choose Task Manager).