Resource lock in AzureIn Azure, an administrator can lock a subscription, resource group or resource to prevent other users from deleting or modifying critical resources. The lock overrides any permissions the user might have. There are two lock levels : CanNotDelete means authorized users can still read and modify a resource,