IPhone passcode time?

I'm a cell phone dinosaur who just recently got his first smart phone. I have a hand-me-down old iphone 5 I think. I'm getting frustrated always having to put in my pass word so often when I use it. I understand and appreciate the purpose of it, but wish I could extend the time it remains idle before it requires me to punch it in again. Is this possible, and if so how?

Go to the Settings app, then Passcode (or Touch ID & Passcode). There should be an option there that specifies how long to wait before wanting the passcode again.

Go into settings

Tap display & brightness

Tap auto lock

Tap 5 minutes if you want to have it auto lock Funticon active, or NEVER if you want to Have that function off

You can mnually lock the device by pressing the power button on the right side of the device.

All iPhones released from the 5s on, with the exception of the 5C and X have fingerprint ID. Using this function if available over rides the need to manually input your passcode when unlocking the phone, except for when turning it on.