Skill 1.3.4
Implement resource locks
Key Concepts
CanNotDelete allows reading and changing but not deleting. ReadOnly allows only reading. A lock on a parent scope is inherited by child resources, and removing a lock needs rights to Microsoft.Authorization/locks.
ReadOnly can have side effects, because some operations use POST to read, such as listing storage account keys. Locks apply to the control plane, so they do not stop a data operation such as deleting a blob.