M365 Outlook (How To) Junk Email Settings
M365 Outlook allows you to filter spam and unwanted emails to your Junk Email folder. You can configure which recipients' emails should be blocked, and which to allow.
In M365 Outlook, you can filter junk emails from your inbox by marking the email sender as a "Blocked Sender".
Microsoft provides an in-depth support article about how to manage your junk email at the following link: Block or Allow Junk Email Settings.