Hello Wendi,
I miss time to do some tests and it's unlikely I will be able to work on this in a near future but looking at the code you could try replacing the 4 lines
lesson_add_fake_blocks($PAGE, $cm, $lesson, $timer);
echo $lessonoutput->header($lesson, $cm, $currenttab, $extraeditbuttons, $lessonpageid, get_string("congratulations", "lesson"));
echo $lessoncontent;
echo $lessonoutput->footer();
at the end of the mod/lesson/view.php file with just one line
redirect(new moodle_url('/course/view.php', array('id'=>$course->id)));
Warnings:
- don't suppress the curly brace at the end of this file !
- this will remove the congratulation page for all lessons on your website
As I said I have not tested this so I can give no guaranty and if it doesn't work it is unlikely I will be able to find time to make it work, but you can try this solution and see if it works.