When an Instructor uses the Lock button in a Course to make it Available/Unavailable, an error is thrown.
SAMPLE ERROR MESSAGE
If you make the course available using another method, however, the lock will continue to display as unavailable.
Option #1 - Set the course status from the Course list page. Choose Open when you're ready for students to participate.
Option #2 - Modify the course's properties to change the course availability.