I'm not concerned of the UI used to lock the pages, I'm concerned of how an admin will be able to check which pages have restricted access in a space and which groups have been used for those pages. We have a large user base with a large amount of groups and it'll be a matter of time before each space has page restrictions using multiple groups...
Ideally you'd provide a preference to turn this feature for individual spaces and allow defining which groups can be used for each space (kind of like Jira's schemes). This would also provide a mechanism to control who can restrict access - if you don't belong to a group which can be used for restricting access, you can't set page level permissions.
We introduced a new space-level-permission on pages which restrict who is allowed to set page-level-permissions.
We will also provide an overview of pages were permissions have been set. It will list the user who set the permission and the group, if applicable, which has permission to the page.