The auto-lock feature on iPhone is helpful if you forget to lock your phone as it adds a layer of security. However, it can be annoying to constantly have to insert your pin (or Face ID) into your device. You can easily turn off Auto-Lock with just a few steps:
Turn off auto-lock on modern iPhones
For iOS 6 and above, auto-lock settings are located in Display & Brightness under Settings.
-
Tap Settings.

Tap Settings. -
Scroll down and tap Display & Brightness.

Tap Display & Brightness. -
Tap Auto-Lock.

Tap Auto-Lock. -
Tap Never.

Tap Never. Your phone will now stop auto-locking.
Turn off auto-lock on old iPhones
On iOS versions older than iOS 6, auto-lock settings are located under the General section in Settings.
-
Tap General in the Settings app.

Tap General. -
Tap Auto-Lock.

Tap Auto-Lock. -
Tap Never to disable auto-lock.

Tap Never.
