Hi Sham,
Please use below code to set the check box as read only dynamically.
DATA : lo_checkbox TYPE REF TO cl_wd_checkbox.
lo_checkbox ?= view->get_element( 'CHECK' ). " CHECK is you are UI element name
lo_checkbox->set_read_only( abap_true ).
Thanks,
Prashanth