Protect a page with its protection form (action=protect), as an administrator: who may edit it (and move it, which follows). "remove the protection" sets it back to all users.
Examples
When I protect the page "Protection test page" so that only autoconfirmed users can edit it
When I protect the page "Protection test page" so that only administrators can edit it
When I remove the protection of the page "Protection test page"
And we protect the page "Second test page" so that only administrators can edit it
When we remove the protection of the page "Second test page"
Pattern
When(/^(?:(?:I|we) protect the page "([^"]*)" so that only (autoconfirmed users|administrators) can edit it|(?:I|we) remove the protection of the page "([^"]*)")$/, …)
Part of @webship-js/mediawiki-steps (github.com/webship/mediawiki-steps), a step pack for Webship-js 2.0.x.