Marking a sender as a spammer is only a couple of clicks away if you're using Outlook on a web browser:
After that, simply click OK to mark the sender as Junk/SPAM and all future emails from this address will be automatically sent to the Junk Folder.
If you marked someone as Junk by mistake, you can always revert that by going into Settings and looking for Blocked Senders and Domains: