Send a number straight to voicemail
You can send any incoming calls from a specific contact directly to voicemail by restricting their number.
Verify that the number you want to restrict is listed as a contact in your Contacts app.
Phone and voice
In the Contacts app, tap the contact you want to block.
Select the All calls to voicemail checkbox.