code: def unlock(self, time=3):
          
          command = const.CMD_UNLOCK
          command_string = pack("I",int(time)*10)
          cmd_response = self.__send_command(command, command_string)
          if cmd_response.get('status'):
              return True
          else:
              raise ZKErrorResponse("Can't open door")
docs: unlock the door\n
          thanks to https://github.com/SoftwareHouseMerida/pyzk/
  
          :param time: define delay in seconds
          :return: bool