> Will the total output in electricity be greater than the inputs for this?
Yup, that's the goal!
> Extra: what happens if there’s too much expansion or things are too hot?
Fusion reactions are difficult enough that if it were physically possible to make them run 'hotter' or release energy faster, frankly we would already be doing so.
> Could this explode or implode? If so would it be a huge deal?
The radiation risks from fusion are orders of magnitude smaller than from nuclear fission power. We still need to think about them and make sure that plants are safe, but it should be significantly easier to manage.