You have windows in "S" mode, this mode is an ultra-secure mode that only allows you to install software from the official Microsoft store. You can google "Switch out of S mode" to get instructions to disable S mode.
Thanks for helping out!