I had the exact same problem, and it was resolved very easily. The Excel file was open for editing in OneDrive. Just a simple oversight.
Save button will not complete it's function in learning module
I am working in Get started with Power Apps canvas apps Unit 3 in "Create a Canvas App" On Step 23, "With your button control selected, go up to the fx formula bar. Change the OnSelect property from "false" to read SubmitForm(Form1).", I follow this and then move to step 24 to preview the app, make a change and hit my save button and get an error message saying "Network error when using Patch function: the requested source is locked." when I go back to editing it shows an error on the Onselect field on my save button. I am stumped on where to go next to fix this as I am going along with the directions of the module.
This question is related to the following Learning Module