I'm just assuming this might be what you're referring to. On S22 the setting is called Eye Shield or Screen Mode
Hi Simplice, kindly follow the steps below on how to enable and disable Eye comfort Shield.
1. Swipe down on your screen to access your Quick Settings
2. Swipe across the screen to the next page
3. Locate Eye Comfort Shield.
4. Tap on Eye Comfort Shield to enable or disable setting