S mode is designed for security and performance, exclusively running apps from the Microsoft Store. If you want to install an app that isn't available in the Microsoft Store, you'll need to switch out of S mode. Switching out of S mode is one-way. If you make the switch, you won't be able to go back to Windows 10 in S mode. There's no charge to switch out of S mode.
Walkthrough document LINK
The link has both Window 10 & 11 Operating system walkthough
https://support.microsoft.com/en-us/windows/switching-out-of-s-mode-in-windows-4f56d9be-99ec-6983-119f-031bfb28a307#WindowsVersion=Windows_10
Article ID: 932
Created: Mon, Dec 19, 2022
Last Updated: Sat, Jan 6, 2024
Online URL: https://kb.erosupport.com/article-932.html