This is a Call blocker app or an app that performs Calls screening.
For now you can choose rules to four groups:
1-Hidden numbers
2-Strangers (not in contacts list)
3-Contacts (except favorites)
4-Favorites
Then you can refine by adding a contact from your phone
Has the particularity of let you choose how to block the call, you can:
Allow - The call is not blocked
Silence - The ringtone is silenced for the incoming call (Android 10+)
Ignore - The call is blocked but the caller perceives as if the phone was ringing and no one answer.
Reject - The call is blocked/disconnected as if the user had manually rejected it.
It's a freemium version, without ads, you have some time to test with full functionality and inn-app purchases to remove the time constrain.
Here some abilities that can be added:
-block specific numbers
-prefixes
-use time ranges
-groups from the contacts app
Enjoy.