docs: def lock(self, page):
          """Locks *page*."""
          result = self._dokuwiki.send('dokuwiki.setLocks',
                                       lock=[page], unlock=[])
          if result['lockfail']:
              raise DokuWikiError('unable to lock page')