Final answer:
An Azure resource inherits locks from its resource group, applying the restrictions to all resources within the group.
Step-by-step explanation:
An Azure resource inherits locks from its resource group. Therefore, the correct answer to the question 'From where does an Azure resource inherit locks?' is b) Inherited from its resource group. Any lock applied to a resource group in Azure will be inherited by all resources within that resource group. If a read-only or delete lock is applied at the resource group level, this will prevent all resources within that group from being deleted or modified, depending on the type of lock enforced.