Home Alarm with a 3 wire 4x3 analog keypad nearly done but need some help please

Hi again. My brain aches and I still cannot get this to work. I have tried this way and that but nothing seem to work. The thing is that I know too little about programming to understand what I am doing wrong. This evening my computer crashed and I lost what I have been doing all day(I was an idiot and didn't save it) but then again it was not working anyway. If I use the millis function to time the amount of time the alarm sounds when it is triggered the keypad will not respond until the time millis function has completed. I had the siren sounding for 30 seconds and in that time the keypad will not function.
Regards
Jeremy