Password protecting pages and posts
Password protecting a post or page is helpful if there is content you would like to be seen only by a certain person or people
Click on Pages and All pages, hover over the page you would like to password protect and click edit
On the right-hand side menu, Click Visibility and choose the password protection option and choose the password and ok and update
Refresh the page and view the page and it will ask for a password, enter and view.
Follow the same steps for protecting the posts, Posts, All post, Edit and follow the rest of the steps above.