From everything I’ve read, if your going to be adding sulfites, You can/should sulfite when the ferment is completely done. But do it when you’re racking. As long as your not opening the carboy, the little bit of fermentation that is finishing up will push out most/any oxygen that is in the headspace. Once the wine seems completely cleared in secondary, rack off of the lees and add some dissolved sulfites to the new vessel, then allow to clear/age some more. It will continue to clear Some more as the wine naturally degasses. Some say to add a dose of sulfites every other racking as well (if you rack multiple times), and again right before bottling. If your going to stabilize with sorbate as well and sweeten, add more sulfites with it, wait a day then sweeten and bottle. But that is all assuming your doing it blindly and not testing for free sulfites and adjusting accordingly, which would be the best way to do it.
Personally I’ve only sulfite when using fruits that I want to sanitize before primary. I have friends that have sensitivities, so I’m avoiding additives as much as possible.