How to make collapsible content (module) that are password protected and dependent on previous modules

I want to create collapsible content which is fairly simple to do, but I also want to make it accessible only after the previous content has been completed. The user would read the content, interact with it, and that interaction would unlock to next module 24 hours later.