Sometimes it is helpful to modify the “autolock” setting on an iOS device. If you do this frequently, it can be helpful to create a shortcut to do it quickly instead of navigating through the settings menu every time.

Though you cannot modify the “autolock” value directly, you can still use a shortcut to open the settings page and change it.

There is just one command step: an “open” command that opens the following link: prefs:root=DISPLAY&path=AUTLOCK.

I shared this command and you can download it here.