Many carriers automatically place a "barring" on your phone if you travel abroad to prevent "bill shock" (running up massive roaming charges). Even if you have a roaming plan, the network might trigger a default barring.
Call barring is a network-level feature (governed by the GSM/3GPP standards) that allows a user to restrict specific types of outgoing or incoming calls. Unlike Do Not Disturb (which silences your device locally), call barring is enforced by your mobile carrier’s switch. When active, the network rejects the call before it ever reaches your phone—or before your phone can initiate a connection.
The network is rejecting your deactivation command because the bar was applied by an administrator (corporate MDM or parental control app like Google Family Link).
Settings → Call settings → Call barring → Deactivate all → Enter PIN (often 0000 ).