How do you content lock your FB pages?

I have seen pages that dont allow you to look at their posts of information unless you give them a like. Does anyone know how this is done?

It’s done through the privacy settings. Please look through the FB documentation and their help center. Then if you have specific questions or problems feel free to come back and post your question here.