iOS 16.4 is currently in testing and comes with several new Shortcuts and automation features. One of those is the option to create an iPhone Lock Screen Shortcut, here’s how it works and what you can do with it.
iOS 16.4 expands the capabilities of automation features like Focus Filters and the Shortcuts app.
Along with the ability to automate the always-on display for iPhone 14 Pro/Pro Max, all iPhone users get the functionality to lock their iPhone screen with a custom automation, a Home Screen button, or with Siri (although the latter is available without the Shortcut but is not customizable).