Creating Password Protection for a page or post in WordPress is super easy!
Step 1:
Create your page or post the usual way.
Step 2:
Click Publish, and open the dropdown that shows :Public.
Select “Password Protected.“
Add a Password in the password field.
Step 3:
Click Publish.
You can test the password by opening the page in a Guest window or by logging out of your admin account.
Here’s a video to show you how: