Help with Shortcuts: Set Auto-Lock to Never -- possible?

I want to use a shortcut to start (and stop) a presentation mode for my iPad. I’d like it to turn off the auto-sleep function (so the iPad, and hence screen, doesn’t go black when I’m talking) and turn on do not disturb (so my reminders don’t pop up). I can’t find the first in the Shortcuts app. Is it just not possible?

All you can do is have the shortcut, after a prompt and then confirmation from you, take you to the auto lock screen.

Edit: here it is: https://www.icloud.com/shortcuts/25d94f04556740b0ad87834df8012fc7

2 Likes