I am testing kiosk mode on El Capitan and macOS using latest electron version and it seems to be broken. I am able to get out of kiosk mode by using following keystroke combinations
Option+screen brightness down(F1)
Option+screen brightness Up(F2)
and probably more which I am not aware of.
Any idea why we are able to come out kiosk mode using above keystroke combinations