Step 1. Go to Settings and enter password in "Private access with a link & course password" under "Security and Tracking".
Step 2. Save your course settings and the course is password protected.
Related Articles:
How do I send users back to my website at the end of the course?
How do I manage additional instructor accounts?
How to share a course folder