Front head lights flashing on 1992 Mitsubishi 3000GT

I unlocked my car this morning and my front lights started flashing. I cranked it and drove it with the lights flashing. It went off after five minutes. When I stopped and turned the car off the lights started flashing again. They went off after about five minutes. What is this and How do I fix it? Thank you

Asked by for the 1992 Mitsubishi 3000GT
This sounds like a possible alarm issue. Do you have an alarm? Is it an aftermarket alarm or a factory installed alarm?