code: def unlock(self):
          
          url = self.reddit_session.config['unlock']
          data = {'id': self.fullname}
          return self.reddit_session.request_json(url, data=data)
docs: Lock thread.
  
          Requires that the currently authenticated user has the modposts oauth
          scope or has user/password authentication as a mod of the subreddit.
  
          :returns: The json response from the server.