Web form, doctype, child doc

Can we set our doctype field readonly from webform? after submission of form i will set other fileds as read only ? how to do