Although a layer mask does not protect areas of a layer from being edited, you can load a layer mask to a selection. The selection provides protection to the hidden parts of the layer. For more information, see Selections and transformations.
To load a layer mask to a selection
1 In the Layers panel, select a layer that has a layer mask.
2 Right-click the layer mask icon, and choose Load Layer Mask To Selection.