The Samsung masking tech can selectively mask parts of the screen. And it has configurability so it automatically is turned on only in certain apps and things like that. Because it dims the screen slightly (when you look at it straight on), just like a screen protector, it’s really useful that it can be customized in these ways. You get to keep the quality of the screen high to a much greater amount while still keeping your privacy.
So does this function from Samsung. You can see in all the video demonstrations that the 'privacy' pixels are notably dimmer even head-on compared to normal pixels.
It's a real, albeit minor, quality of life improvement for the phone screen to only become less-vibrant for a subset of content.