On an iPhone 8 or newer, press and quickly release the Volume Up button, and then the Volume Down button. Then press and hold the Lock button until the recovery mode screen appears. On an iPhone 7 ...
To be clear, recovery mode should never ... to force-restart the iPhone when you see the Apple logo. Continue to hold the buttons until you see the "connect to iTunes" screen.