Lock the value of an attribute

-click the attribute and select Lock Attribute. Maya displays locked attributes with a gray background.

To unlock an attribute, -click and select Unlock Attribute.