James Simon Welcome to Microsoft Q&A, thank you for posting your here!!
You can remove the read-only lock from Azure Portal
Navigate to Azure Storage account that has read-only lock--> Lock.
Reference Link: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources?tabs=json#who-can-create-or-delete-locks
Hope this helps!
Kindly let us know if the above helps or you need further assistance on this issue.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.