Azure — Lock Azure resources to prevent changes
Preventing Azure Resource Deletion or Unexpected Changes using Locks.

TL;DR
Resource Manager Locks provide a way for administrators to lock down Azure resources to prevent deletion or changing of a resource. These locks sit outside of the Role Based Access Controls (RBAC) hierarchy and, when applied, will place restrictions on the resource for all…