What condition governs the allowance not to undo braids?

Ghusl: Obligations, Sunnah Procedure and Braided Hair