What is the primary function of applying locks to Azure resources?
To prevent accidental deletion or modification of resources
To encrypt data stored within the resources
To restrict access to resources based on user roles
To track changes made to resources over time