You need to write a script on the onchange event of the yes/no attribute.
Xrm.Page.getControl(attributename).setDisabled(true)
You can refer the sdk for further help with the syntax.
HTH
Sam
Web: http://www.inogic.com
Blog: http://inogic.blogspot.com
Email: news@inogic.com
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".