I use an app called Call Control. I haven't had to use it for unknown texts yet but it has a setting for them. I use it to block telemarketers and debt collectors (that keep calling for some girl that had my number 6 years ago yet refuse to believe I'm not her) and it works great.