CmdID / az / az account / az account lock
az account lock create
Create a subscription lock. Azure CLI reference
6 options Its page in the Azure CLI reference
Options
--nameThe name of the lock.--notesNotes about this lock.--parent-resource-pathPath to a parent resource--resource-nameName of a resource that has a lock.--resource-provider-namespaceName of a resource provider.--resource-typeThe type for the resource with the lock.