Oh I see what you mean now. At 5:20 in this lesson, I demo the “Face Selection Masking” feature of texture paint mode. Essentially it enables component selections from Edit Mode to serve as a mask for painting, where selected faces are paintable and unselected faces are not paintable. That’s the best way to mask areas of your model for painting while excluding others.