How to add password protect into template files

I’m trying to get a custom taxonomy page to have a password protected area. Is there a way of adding the shortcodes for the Password protect plugin into the template files so I can set the password directly in the template file? Or is there another suggestion you would have for making a custom taxonomy term password protected?