There is Special:Protectsite (in the admin dashboard), but make sure you discuss this with your community before using it. I am unsure if this will prevent comments or not. You probably don't want to disable page creation to make sure comments can be created.

Community content is available under CC-BY-SA unless otherwise noted.