lock the format of fields

Hello, we would like to lock the format of certain fields but that these remain modifiable (I tried a calculated field to put the surname in uppercase but the field is no longer modifiable).

Here are the fields and modules concerned:
ACCOUNTS MODULE: Account name = uppercase All phones in the format: 00 00 00 00 00 Assigned to automatically copied from the linked account (if existing) but with the possibility of changing manually Postal addresses (delivery and billing) = in capitals All phones starting with 06 or 07, auto copy into MOBILE Phone All email addresses must contain "@" and not contain "," CONTACT MODULE: Last name = UPPERCASE First names = Proper name All phones = format 00 00 00 00 00 All phones starting with 06 or 07, auto copy into MOBILE Phone All email addresses must contain "@" and not contain ","
Thanks in advance for your ideas!