However, the iPhone has a hidden "yellow mode" that can almost instantly ... Swipe down from the top-right corner of the screen to open Control Centre. Press and hold the Battery icon.
If the battery icon on your iPhone has turned yellow, it means you're in Low Power ... In Low Power Mode, your screen will auto-lock after 30 seconds, no matter how you configured your normal ...