Hi, I'm Anvar, I'd be glad to help you today on this
Kindly check if you are in Window 11 S mode
Right click windows button and click System to check windows edition
if you are on S mode kindly follow below guide and switch from S mode
To increase security and performance, Windows 11 in S mode only runs apps from the Microsoft Store. If you want to install an app that isn't available in the Microsoft Store, or if you have Windows 10 Pro, Enterprise, or Education and want to upgrade to Windows 11, you'll need to permanently switch out of S mode. There's no charge to switch out of S mode, but you won't be able to turn it back on. If you're blocked from switching and your device belongs to an organization, check with your administrator. Your organization can choose to keep all devices in S mode.
Switching out of S mode in Windows 10:
On your PC running Windows 10 in S mode, open Settings > Update & Security > Activation.
Find the Switch to Windows 10 Home or Switch to Windows 10 Pro section, then select the Go to the Store link.
Note: Don't select the link under Upgrade your edition of Windows. That's a different process that will keep you in S mode.
On the page that appears in Microsoft Store (Switch out of S mode or a similar page), select the Get button. After you confirm this action, you'll be able to install apps from outside Microsoft Store.
https://support.microsoft.com/en-us/windows/win...
Hope this helps. Let us know if you need further assistance.