Standard Call Barring usually applies to and sometimes Video Calls . It typically does not block SMS text messages. If you need to block texts, you must use the "Block Number" feature in your messaging app.
3GPP TS 22.088 (Call Barring supplementary services) call barring settings
This stops calls from reaching your phone. Standard Call Barring usually applies to and sometimes
Type *#35# and press Call.
If you try to activate barring and get an error message or "Network Error": 3GPP TS 22
Call barring remains a reliable, network-enforced feature for restricting calls. While SMS/data are unaffected, its zero-client dependency (works on any phone, even basic devices) makes it valuable for cost control and security. Users should verify carrier support and change default passwords where possible.
The following are the universal call barring codes (feature codes) used across most networks: