You can easily lock content in WordPress by using the Passster plugin.
It is completely free and lets you add password protection to any page or post on your WordPress site. It even lets you protect specific areas of your pages that can be unlocked with a password.