This article explains how to block emails from any sender in Gmail. You can block individual senders or create a block list using filters.
How to Block an Email Address in Gmail
To add a sender to the blocked senders list in Gmail and have their messages automatically go to the Spam folder:
Open a message from the sender you want to block.
Select More (the three vertical dots next to the Reply button in the message header).