I'm using form to write back to a onedrive excel file. i m facing following error? how to we remove the file lock?

I'm using form to write back to a onedrive excel file. i m facing following error? how to we remove the file lock?
Hi @Sanjana_R ,
I suspect someone has the Excel file opened - you cannot write to it while it is open. Have you checked this ?
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps