Anywhere (Installs both, Desktop and ... Windows Components > Windows Defender SmartScreen > Explorer. In the right pane look for the following entry – Configure App Install Control.