The default platform behavior for when a learner fails to complete a course by the deadline date, will have them locked out of the course and unable to continue unless you follow the instructions shown here.
Alternatively, if you want a soft deadline where learners can still access the course, let your account manager know and they can make the change for you.