Hero selection is tied to your account — if you roll a locked Hero you do not own, it will be locked in the tournament unless you purchase it (same as a normal game).
Matches run to completion, they will not be restarted if there are any issues after Hero selections.
Intentionally disconnecting and reconnecting your game to gain an advantage in the buying phase is not allowed in the tournament.