Great question tamgaone and thanks for asking. There are a couple of ways to do this. One of which is to use the phone's builtin functionality. This does depend on what kind of phone you're using, however. Another option you can look at is our Family Allowances feature. This will allow you to block specific numbers and even block all calls and text during a specific time of day. The only thing to keep in mind with this feature is that if you're connected to Wi-Fi, calls and message will still come through. That blocking feature will only work when connected to the T-Mobile network.
Manage your T-Mobile account