According to your check box's status, disable the text box is as below.
@Html.TextBoxFor(m=>m.user_name, new { @readonly="readonly" })
When click the check box use below mentioned
JS code.
$("#YourTextBoxId").removeAttr('readonly');
Note:Here you have to find the Id of the text box by using chrome dev tool.