NeetoKB allows you to restrict the Knowledge Base site’s access with a password.
When this is enabled, visitors must enter the password to access the site, and logged-in admins won’t be presented with the password screen.
Here's a guide on how to secure KB with a password:
Go to Settings > Security.
Select Secure KB with password radio button.
Add your password in the textbox and click on the Save Changes button.