read only field based account type

Hi to all, i have a request, there is a way to make a field readonly if account type value is “Customer”?