   digitalWrite(LCD_BL_G, LOW);
   digitalWrite(LCD_BL_B, HIGH);
 
-  delay(2000);
+  digitalWrite(LOCK_PIN, HIGH);
+
+  delay(3000);
+
+  digitalWrite(LOCK_PIN, LOW);
   resetLCD();
 }
 

    Particle.publish("sentry/request-members");
  } else if (cloud.didStartConnecting()) {
    lcd.clear();
    lcd.print("Connecting...");
  }
}


#define LCD_BL_G A2
#define LCD_BL_B A1

#define LOCK_PIN D7

// Dont demand wifi before our code starts running.
SYSTEM_MODE(MANUAL);
