Esp 32 fingerprint Door Lock with android studio but my door lock didnt work

#include<WiFi.h>

const char* ssid = "wifi name;
const char* password = “wifi pass”;

WiFiServer server(80);

const byte relay = 25;
String inData = “”;
String unlockString = “MakerTutor”;
bool unlock = false;
int period = 5000;
unsigned long time_now = 0;
void setup() {

Serial.begin(115200);
pinMode(LED_BUILTIN, OUTPUT);
pinMode(relay , OUTPUT);
digitalWrite( relay , LOW);
Serial.println();
Serial.println();
Serial.print(“Connecting to “);
Serial.println(ssid);
WiFi.mode(WIFI_STA);
WiFi.begin(ssid,password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(”.”);
digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
}
digitalWrite(LED_BUILTIN, HIGH);
Serial.println("");
Serial.println(“Hello0 WiFi connected”);
Serial.println("IP address: ");
Serial.println(WiFi.localIP());
server.begin();
}
void loop() {
WiFiClient client = server.available();
if (client) {
Serial.println(“new client”);
while (client.connected()) {
if (client.available()) {
char c = client.read();
Serial.write(c);
if( c == ‘\n’){
if( unlockString.equals(inData)){
// unlock
digitalWrite(relay,HIGH);
unlock = true;
time_now = millis() + period;
}

inData="";

break;
}else{
inData += (char) c;
}
}
delay(1);
}
client.stop();
Serial.println(“client disonnected”);
}
delay(10);
if( unlock && ( millis() >= time_now ) ){
digitalWrite(relay , LOW);
unlock = false;
}

}

Please post your code according to the forum guidelines: Read this before posting a programming question …

And what doesn't work ?