To prevent your iPhone's screen from automatically turning off, open Settings, go to Display & Brightness, and select "Never" ...
OS 26 has brought a lot of new ways to customize your iPhone in the Settings app, here are the settings I changed on my iPhone right away.