If Biden is a national security risk he won't be allowed to assume office. If the military determines Biden and foreign actors conspired to steal an election, and exhibits proof, then POTUS remains in office. POTUS took an oath to protect the country from enemies foreign and domestic.
In this scenario, the normal election procedure and transition has no meaning. Whatever is playing out in the civilian court is meaningless, other than to introduce normies to the information that will be part of the proof the military lays out.
Any governors or state officials certifying results are committing treason. They've been warned, but apparently have no other option than to double down on the hope that deep state somehow bails them out.