hook_form_alter hiding field only in the form
Have you checked

admin/structure/types/manage/my_content_type/display


Your field is probably hidden here.

Otherwise, hook_form_alter is only for form you are right

An other attribute is :

$form['my_field']['#disabled'] = TRUE;