I have a phone number, which is called very often by strangers. There is no possibility to blacklist unknown phone numbers which are unwanted or contacts which you want to block.
This is a basic function and unfortunately necessary in this day and age.
In the phone app in the history you could add a “block” option when you press on the phone number.