# Resource lock

Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.

A resource lock is an Azure setting that stops a resource from being deleted or changed, whoever holds the role to do so. The two lock levels are delete and read-only. Locks are used to protect log storage and diagnostic settings from tampering by workload administrators.

## An example, sourced

The tamper protection check mentions locks as one way to protect logging.

## Why it matters here

On Cloud Security Risk Assessment the term appears in the rubric and on the platform pages; the example above was read on 16 Nov 2026 from the page under Sources.

## Related pages

- [Root user: meaning and an example](/glossary/root-user/)
- [Secure score: meaning and an example](/glossary/secure-score/)
- [Separation of duty: meaning and an example](/glossary/separation-of-duty/)
- [All of them](/glossary/)

## Sources

- https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources (read 16 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://cloudsecurityriskassessment.com/glossary/resource-lock/
