So, ideally you won't let them move at all with the belt or chain off so that you don't lose your correct timing. On an interference engine you still have some allowable movement. There is usually a tool that goes over the end of the crank and lines up with a mark or pin on the engine, and when placed correctly the pistons will all be below TDC, so if the cam jumps a little, like what happened to you, which is normal, you won't bend valves.
But on all pushrod engines that I familiar with, you have a condition called non-interference, which is where the engine is built so that with the valves fully open and the piston at TDC they still won't touch and so you don't have to worry about it.
All engines should be non-interference, but I am too smart to be a design engineer, so they aren't.