Hi @snguyen33
The way that it looks like it works in Catalog is that when a student enrolls, a new section is created in the Canvas course, with the start date for the section set to the date the student enrolls, and the end date set to "Days to complete" number of days later.
There is an option in the section settings: "Students can only participate between these dates. When selected, the course section is in a read-only state outside these dates."
However, that setting is not selected by default, and even if it were, the course content would still be accessible after the end date (though the student would not be able to participate or submit anything...). I don't think there's a way to completely deny access to course content for the course after the "Days to complete..." period has expired.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.