How to make site as read-only

Hi,

We like to run the community as read-only for some time. We have site-level user roles where we can remove permissions and what about the group member, managers, and owners. 

Is it required to go to each group and change permissions or is there any process to do this global.

And we don't want to use Access-code plugin here as we need to show the content to all the users.