-
In the Settings blade for the resource, resource group, or subscription that you wish to lock, select Locks.
-
To add a lock, select Add. If you want to create a lock at a parent level, select the parent. The currently selected resource inherits the lock from the parent. For example, you could lock the resource group to apply a lock to all its resources.
-
Give the lock a name and lock level. Optionally, you can add notes that describe the lock.
-
To delete the lock, select the ellipsis and Delete from the available options.