Locking prevents the accidental deletion or modifying of critical resources. Example Azure Subscription, Resource Group, Network, Files, VMs.
How to configure Management locks to prevent the accidental deletion of core networks?
In this example we will put a “Delete” lock on a virtual network.
Virtual Network > Select the network > Locks > Add > Name + Set lock type to delete > Ok
To remove a lock / delete the lock