When a course is completed, while still inside the learning session, there’s still a button to continue learning. Clicking through results in arriving at an error page.
I believe disabling/removing the button or redirecting the learn page to an alternative location like the course overview would be appropriate behavior.