What are resource locks?
IntermediateConceptGovernance, Policy & monitoring
Answer
Locks prevent accidental changes: CanNotDelete allows changes but blocks deletion, and ReadOnly blocks changes and deletion. They apply even to owners, so they are useful for critical production resources such as hub networks and key vaults. Be aware ReadOnly can break some operations that use POST calls.