Just go to the profile page and find text notifications. Toggle the switch beside your phone number to the left to turn off. You’re welcome to turn them back on whenever you choose.