As there is apparently nothing in the constitution preventing a convicted criminal becoming POTUS ( one suspects the writers never envisaged a situation where two obviously unsuitable candidates were the only viable choices, or that the justice system would be used against one of them ), so when Trump becomes POTUS it'll be very interesting if he is in jail ( more likely house arrest in his resort ) to see how that is handled.
IMO Trump doesn't need to campaign in person, so being in jail will not rule him out of contention.
The elephant in the room if he is locked up is the reaction of his base. IMO it'd be a brave judge that locks him up, unless they want to spend the rest of their lives in protective custody, or go into witness protection.
If anyone thinks the Capitol invasion was bad, they ain't seen anything yet, if Trump is actually incarcerated, and they must know that.