Make child table fields read only

I am having a child table having 5 fields. In that I need to make 2 fields read only for some users.

Please check the reference: