Driving multiple relays independently with the same analog input

I am sorry if this is a noob question but is it possible to drive 2-3 relays using the same analog input from a sensor without using any shift registers? I am using an electret mic as a sensor, currently turning on/off fairy lights with a solid state relay when values of sensor go over a specific threshold. I want it to do the same to 2 other relays but using a higher threshold. Would I need a shift register or can I just adjust the code. The code I am using currently is the following:

//electret mic input

int sensorPin = 0;    //Microphone Sensor Pin on analog 0
int Relay = 8; 
int Relay2 = 9; 
int sensorValue = 0;

void setup() {
pinMode(Relay, OUTPUT);
pinMode(Relay2, OUTPUT);
Serial.begin(9600);
}

void loop() {
  // read the value from the sensor:
  sensorValue = analogRead(sensorPin); 
Serial.println(sensorValue);


  if (sensorValue>380){  
    digitalWrite(Relay,HIGH);
    delay(100 );           
} else {
    digitalWrite(Relay,LOW);
}
  if (sensorValue>500){  
    digitalWrite(Relay2,HIGH);
    delay(100 );           
} else {
    digitalWrite(Relay2,LOW);
}
}

If your mike is giving enough signal it should work

//electret mic input

int sensorPin = A0;    //Microphone Sensor Pin on analog 0
int sensorValue = 0;

int Relay1 = 8; 
int Relay2 = 9;
int Relay3 = 13;  // build in  LED 

void setup() 
{
  pinMode(Relay1, OUTPUT);
  pinMode(Relay2, OUTPUT);
  pinMode(Relay3, OUTPUT);

  Serial.begin(9600);
  Serial.println("relays controlled by microphone");
}

void loop() 
{
  // read the value from the sensor:
  sensorValue = analogRead(sensorPin); 
  Serial.print("Sensor raw: ");
  Serial.println(sensorValue);

  if (sensorValue > 380)
  {  
    digitalWrite(Relay1, HIGH);
    delay(500);           
  } 
  else 
  {
    digitalWrite(Relay1, LOW);
  }
  
  if (sensorValue > 500)
  {  
    digitalWrite(Relay2, HIGH);
    delay(500);           
  } 
  else 
  {
    digitalWrite(Relay2, LOW);
  }
}

the relay logic can also be implemented this way // this works because HIGH == 1 == TRUE // digitalWrite(Relay1, (sensorValue > 380)); // digitalWrite(Relay2, (sensorValue > 500)); // digitalWrite(Relay3, (sensorValue > 750)); // delay(1000);

give it a try