Im pretty sure that HOCl protonates the alcohol then NaOCl does an Sn2 substitution reaction releasing water. the water then grabs the proton that is attached to the carbon that is attached to the OCl and the lone pair comes up forming the carbonyl and releasing a chlorine ion.
does that answer your question?