Help understanding the synthesis of HOCl
Chlorine bleach is commonly produced via the chloralkali process as a highly alkaline mixture of sodium hypochlorite (NaOCl) and hydroxide (NaOH) along with some unreacted NaCl as well.
It's usually dangerous to lower the pH of chlorine bleach, as you may inadvertently generate chlorine gas
$$ \ce{2H+(aq) + OCl- (aq) + Cl- (aq) \rightleftharpoons Cl2(g) + H2O (\ell)} $$
$$ \ce{4H+(aq) + 4OCl- (aq) \rightleftharpoons  2Cl2(g) + O2(g) + 2H2O (\ell)} $$
And that is why it is kept at a high pH, to help favor the left side of the above equilibria.