Do Not Disturb mode is surprisingly great at this.
I'd like to see Apple and other mobile phone companies to actively build functionality to screen calls that works all the time -- whether or not I have enabled "Do Not Disturb". I never want (nor need) a telemarketer call.