A feature introduced in a new iOS update to hide messages from unknown senders has become available to iPhone owners.
The new filter does not block receiving messages from unknown people or companies , but will help you keep your inbox more organized. You can reset your settings in the future.
To hide messages on your iPhone from unknown senders, you need to install the latest version of iOS. Then go to “Settings” > "Messages" and scroll down to Message Filtering. Then turn on “Filter unknown senders”.