Make sure the camera did not power-down by menu setting !
It happened to me a couple of times as well.
Simply switching the camera off and back on should do the trick.
Otherwise prevent the camera from powering down in the first place.
I'm pretty sure this solves your lock-ups.
All the best.