MY ECU HAS LOCKED ME OUT BECAUSE I ENTERED THE WRONG SECURITY CODE

DO I HAVE TO LEAVE THE ENGINE TICKING OVER FOR 40 MINS EACH TIME THE WRONG CODE HAS BEEN PUT IN OR JUST PUT EGNTION ON FOR 40 MINS EACH TIME ?

THANKS