If nobody else wants to take a bite, I will.
I want to hear from an official who has had a play that took 105 seconds from the snap to the ball being dead and the result of the play being 2/10

Also, I think there is some information missing from the questions.
The foul in both cases is the same, intentional grounding to conserve yardage (in 2, you could also argue that the foul is for conserving time, but that does not matter for clock status), which is a loss of down at the spot of the foul. Team B will obviously accept the penalty in both cases. So, the only thing that we will have to account for is the time of the foul as IG is a foul that may result in a 10-second runoff.
In 1, the foul happens before the two-minute timeout, so there is no runoff option.
In 2, the runoff option is available and team B is likely to take it. Team A will equally likely use a timeout, if they have one, to avoid it.
So, rulings:
1) Team A 3/whatever at the spot of the foul, GC snap, 25.
2) Either game over, if team A is out of timeouts, or same as 1), if team A burns a timeout.