Before you begin, remember that you can always turn the steering lock on and off by swiping from the upper right corner of the iPhone and tapping the circled lock icon clockwise:
Before choosing the application you want to automate, make sure to enable “on”, “off”, or both, depending on how you want to customize the orientation lock. (If you want to change the lock to a setting when the app starts, and then reopen it when the app is closed, you can do a second automation at any time.)
Next, click on the “Apps” section “Select” in to select the application (or application) you want to use automatically. You can select multiple applications at once, for example, this is useful if you want to adjust the orientation lock for all streaming media applications. There is no need to perform separate automation for each individual application.
On the next screen, you need to add an action. Click the blue button and go to Script>Set Orientation Lock (in the “Device” section). By default, the operation is set to “switch” direction lock, that is, it is set to the opposite state before automatic operation.
When you are ready, click Next in the upper right corner to check the automation for the last time. If you don’t want to be disturbed, please feel free to disable “Ask before running”. Now, depending on how you set up automation, you can enjoy using the orientation lock when you need it, and automatically disable it when you don’t need it.