How to delete locked file

imho, not a rclone issue.
rclone cannot delete a lock file.
onedrive has lock the file, not rclone.
rclone is printing out the response it got from onedrive.

i would make sure that the .xlsx file is not opened/in-use by something, such as the web interface of onedrive.

https://stackoverflow.com/questions/61554807/microsoft-update-driveitem-api-throwing-locked-exception-if-the-file-is-open-in

https://community.plumsail.com/t/teams-delivery-failed/11640

but at this point, when you posted, there was a template of questions, now is the time to post the answers to ALL of them.