To turn off the screen on your Pixel 7, simply press the Power button once.
The Power button is typically located on the right side of your phone. A single press will put the screen to sleep, turning it off and locking the device (if you have a screen lock enabled). On some Pixel phones, you might still see the time and other information (like notifications) even when the screen is off; this is the Always-on display feature.