Hi,
Only the Owner and the User Access Administrator built-in roles can create and delete management locks.
To get all the locks in your subscription, use:Get-AzResourceLock
To delete a lock for a resource, use:
$lockId = (Get-AzResourceLock -ResourceGroupName exampleresourcegroup -ResourceName examplesite -ResourceType Microsoft.Web/sites).LockId Remove-AzResourceLock -LockId $lockId
Please try this and get back for any issues.
Hope this helps. JS
== Please Accept the answer if the information helped you. This will help us and others in the community as well.