Gate the next task, not the whole lesson
The most useful pattern is small: one question, one answer, and the next worksheet behind it. Students who get it move on, students who do not get a hint and try again. Retrying costs nothing and is not recorded as a failure, which changes how willing a class is to guess out loud.