I have seen numerous posts on this, but I don't think this has ever been solved.
For me I have two flows.
1. This one take over an hour to run. I am using Excel Online Business as the files I am accessing are on a One Drive for Business Service account. The List Rows is at the very beginning. At the end I have a piece that moves the file to another folder.

This one I have no issues with, it runs fine each time.
The second flow I have the List rows is more towards the end, and this one only takes like 20 seconds.
I USED to have a part at the very end where it would look for files, find the file we were pulling table data from, and move it to another folder. Each time, we would fail on this step with the following:


As you can see, I even tried a Delay of 2 minutes. I would still get the locked error.
The file was NOT open, and I could open it, move it, and delete it, once the flow was over (manually in File Explorer).
I am using the Excel Online Business Connector for all my flows.
I figured since the other works all the time, maybe Flow is holding onto the connection in the background or something.
So I created a seperate flow that would come in and move the file. I ran this after the main flow ran.
I STILL got the resource locked.
Has anyone figured anything out on the resource locked with Excel connector being used?