You can enable spam blocking to block known spam. To block custom numbers, you kinda need to enter the whole number, else how does the phone know who to block?
You mean without the cc (country code eg +94 (Sri Lanka),if ur talking about that than you can enter the number without the cc aslong as your phone number has the same cc than the other number I think