Controlled section

Hi I have a controlled section , if i make the controlled section field null it is allowing all,based on condition i want to make the section noneditable is it possible.

Thanks

soma