LDR SENSING RELAY CIRCUIT

Another way without blocking the arduino during delay is to program a hysteresis.