Q: How to make Country Code on phone fields mandatory?
Short A: Not built-in HubSpot functionality.
Longer A:
If country code is uber important for your use case, have you considered making a separate custom contact property a mandatory field (e.g., ‘Country Code Mandatory’)?
You could easily make it a dropdown and even limit the list (if desired).