I can not access my course it says assignment locked
I'm not sure if you realized it or not, but you posted your question to the global Community of all Canvas users. As such, we don't have access or information about class or school specific information/policies. For this type of question you'd want to contact your teacher as they control when a student has access to assignments and for how long they have access to said assignment.
Retrieving data ...