How to make a custom field read only in detail view??

How to make a custom field read only in detail view??

Thanks!!