Using colour protect masks, example 1:
Using colour protect masks, example 2:
Observe that the mask buttons can be controlled in group if you click on them with modifier keys.
Hold the mouse hovering over one of the 4 buttons to read the options available in the status bar.