My Power Automate program reads rows from an Excel file in a SharePoint document library and then tries to update a metadata field in that document library item, but it fails every time with a "file locked" message. I suspect that my Power Automate program has locked the file when reading the content and this is why it's locked. Who knows, it's just a theory. Should I be somehow closing the Excel file and then pausing for the lock to clear? How would I close the Excel file? Is there a way to pause until a lock clears? Or will doing anything with the Excel file just cause it to be locked, and any attempt to pause would be futile because it's the PA program itself keeping the lock going? How do we do this in the modern age?