Not sure what caused the problem

If main shut-off water valve was turn off, due to home repair, can our dishwasher still run?

It may run, but you’ll have to manually puor hot water into it yourself.