When your plants go into flower, remove the leaves from the main branches to encourage the growth of the side branches on the node. At this stage, do not remove leaves from nodes with underdeveloped branches or flowers, especially at the top of the plant.
Later, when the stretch slows down after about 3 weeks, you can remove the other large leaves to encourage leaf growth as close as possible to, or even in, the flowers. Prune the spindliest low branches, or those with much smaller flowers, because even with maintenance, the light will have difficulty reaching the bottom of the plant and it is better to focus the energy on the apexes.
This kind of slightly violent defoliation is often criticised. But plants in nature use the leaves as energy reserves for the cloudiest days, which is unnecessary in a controlled environment where conditions are always optimal. It is more interesting to try to photosynthesise as high up as possible so that the sap rises directly into the buds.