It is best to prune locust trees during late winter while they are still dormant. If it must be done, then they can be pruned during summer, as long as the weather is not rainy or humid.
Leave most functional limbs on newly planted trees. Pruning should start in the second year or third year of the tree's life. Prune forked trunks. forked trunks reduce multiple problems.