How to turn off the auto power off on an iPhone 6?

Okay, I didn't exactly know what it was called but it's the thing that when you don't touch your phone for a while, the screen dims, then turns off. I write my stories on my phone then I copy them onto my laptop. But my phone keeps turning off and it's annoying. So how do you turn that thing off in setting?

Settings > General > Auto-Lock