no idea how i got into this

i stopped/locked the car, then a few mins later opened it again, started ignition only (card in slot and press start for 10secs), then dipped clutch and hit start again and all was back to normal again.
anyone know what this TEST MODE is, is it useful ? and how you start / stop it ?
car is a 2004 1.6 vvt megane