If you top a plant, you take away the hormon-processes which work in the top for a few days.
If you switch to flower in these days, there is a high possibility to force her to herm and build some male flowers.
The 7 to 10 days that
@The_Kitchen_Raccoon mentioned should be fine.
LST and supercropping is a bit safer, as the hormon-issues are not that hard, but going to flower (what is stress for the plant) and adding any stress for training, is still not the best choice.