Create a new LayerMask.
Determine the locked state of the LayerMask.
Lock the LayerMask to its Layer
A locked LayerMask is contrained to its Layers transformations (offset, scale, rotate).
Unlock the LayerMask from its Layer.
An unlocked LayerMask is free to be transformed on its own and is not contrained to its Layers transformations (offset, scale, rotate).
[Validate]