Is it possible to set all felds in a Section to ReadOnly with Client Script?

Hello,

Is there any way to make all the fields in a Section as ReadOnly?

What I am trying to achieve is that if user enters a value in the the field target_qty > 100 then all the fields in a Section should be set as ReadOnly otherwise user can enter value in them.

TIA

Yogi Yang