Hello,
According to your description, you want to stop the automatic login after the screen lock when you use the Windows app on iOS. You can try the following methods to set it up on the Windows side:
- Disable the dynamic lock feature: Open "Settings", head to "Account" > "Sign-in options", under the "Additional Settings" section, uncheck the "Allow Windows to automatically lock your device when you're away" option.
- Modify sleep & screen saver settings: Open the Settings app, go to System > Power & Battery, click Screen & Sleep to expand it, and select Never from the drop-down menus next to Put my device to sleep after when powered on battery and Sleep my device after plugging in. Press Win+S to bring up the Windows search, type "turn the screen saver on or off" and select the first result that appears, in the screen saver settings window, set the screen saver to "None", and uncheck "Show login screen on recovery".
- Press the "Win+R" key, enter "gpedit.msc" and press enter, in the Group Policy Editor, find "Computer Configuration" -> "Administrative Templates" -> "System" -> "Power", double-click the "Prevent automatic locking of workstation's power" policy and set it to "Enabled".
- Press the "Win+R" key, type "regedit" and press enter, in the registry editor, find the following path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power, in the right pane, find the "AlwaysOnDisplay" key value, set it to "0". Or navigate to HKEY_LOCAL_MACHINE > Software > Policies > Microsoft from the left pane, right-click on Windows, select New > item, name the new item "DisableAutoLock", right-click on the newly created key, go to New, and select the DWORD (32-bit) value, change the name of this new DWORD to "NoLockScreen", Open NoLockScreen and set the numeric data to 1, then restart your computer to apply the changes.
I hope this information helps.
Best regards,
Jingjing Wu