docs: public void lock(String key, String request) throws InterruptedException {
          //get connection
          Object connection = getConnection();
          String result ;
          for (; ;) {
              if (connection instanceof Jedis){
                  result = ((Jedis)connection).set(lockPrefix + key, request, SET_IF_NOT_EXIST, SET_WITH_EXPIRE_TIME, 10 * TIME);
                  if (LOCK_MSG.equals(result)){
                      ((Jedis) connection).close();
                  }
              }else {
                  result = ((JedisCluster)connection).set(lockPrefix + key, request, SET_IF_NOT_EXIST, SET_WITH_EXPIRE_TIME, 10 * TIME);
              }
  
              if (LOCK_MSG.equals(result)) {
                  break;
              }
  
              Thread.sleep(sleepTime);
          }
  
      }