Creating a rule in Outlook
Click on File in the top left.
Select info (1)
Select Manage rules and alerts (2)
Select new rule (3)
From here you can either select some rule templates (4/5) or create your own (6) and follow the steps to create a rule to fit your needs
For additional options and instructions you can follow the guides on this website'
https://www.windowscentral.com/how-manage-rules-outlook-and-take-back-your-inbox