code: def unlock(self):
          
          cursor = connection.cursor()
          cursor.execute("UNLOCK TABLES")
          logger.debug('Unlocked tables')
          row = cursor.fetchone()
          return row
docs: Unlock the table(s)