How to block SMS numbers?
There is no out-of-the-box option, but it is possible to create an incoming SMS rule that matches a contact group. The group can be named Blocked numbers, and the rule could trash the conversation. (Screenshot of the rule below)
To block a number, simply add it to the contact group Blocked numbers.