1. Open a tab
  2. Paste in edge://settings/privacy 
  3. Search for "Microsoft Defender SmartScreen"
  4. Disable it