The issue I faced was trying to open a cloud OneDrive file hosted on SharePoint, accessed through a OneDrive Folder shortcut via my file explorer after my desktop power automate flow FAILED during testing. The file, in my case a .xlsx, turned into a Background process.
The solution that worked for me was opening up Task Manager > going to 'Background processes' > Locate and end task on the Excel process(es).