The iPhone Duo supports a new Shortcuts automation trigger that runs actions when the device is opened or closed, allowing users to add behaviors beyond what is available in standard settings. Multiple outlets point to examples built around locking the display when the Duo is closed.

Daring Fireball describes a two-step Shortcuts approach: using a condition tied to “when the iPhone is closed” and then selecting the screen lock action. The article notes that while the feature can prevent repeated authentication, the author also recommends adjusting expectations if the user has become accustomed to a different workflow after changing daily use.

9to5Mac and MacRumors emphasize that the trigger can be used for other automations as well. MacRumors highlights that a trigger named “Opened or Closed” appears under the Display automations category, and it notes the community’s interest in additional hinge-related ideas, including changing wallpaper when the device opens or closes. 9to5Mac presents a video demo and similarly frames auto-locking on fold/close as a primary use case.