Use Raise to Wake
When you raise your iPhone to look at it, it automatically wakes the Lock screen. From there, you can quickly check your notifications, access Control Center, swipe left to take a photo, or swipe right to access widgets.
With an iPhone X or later, you can also tap your screen to check your notifications, take a photo, or quickly access your flashlight.
If you need to unlock your iPhone X or later, swipe up from the bottom of your screen. On iPhone 8 or earlier, press the Home button. If you don’t do anything, your iPhone will go back to sleep.
To turn Raise to Wake on or off, go to Settings > Display & Brightness.