The workflow '70ad9987-ce8b-4706-902e-ae4befa68eb7' in subscription '4f36630d-ee46-e9cd-85bc-5b25fec5240f' and resource group 'selfhostingresourcegroup' is currently locked. Please try again shortly.

This error means the Power Automate workflow resource is temporarily locked on the Azure side, not that there is a problem with your flow logic.
Power Automate runs on Azure Logic Apps infrastructure. A workflow can become locked while:
During that time, saves and enables are blocked.
Wait a few minutes and refresh
This is often a short‑lived lock that clears on its own.
Confirm no one else is editing the flow
Ask teammates to close the flow if it is open elsewhere.
Check if the flow is currently being saved or deployed
Disable, wait, then re‑enable
If the flow opens, try disabling it, wait 1–2 minutes, then enable again.
Check Azure resource locks (less common but possible)
selfhostingresourcegroupClear stuck runs
If the flow has long‑running or stuck executions, cancelling them can release the lock.
If the lock persists for more than 30–60 minutes, this is usually an Azure backend issue. Open a Microsoft support ticket and reference:
This is a platform‑level lock, not a configuration mistake. In most cases, waiting a short time or reopening the flow resolves it.