This circuit will trigger a buzzer with an oscillator if the ignition key is removed with the headlights on. The circuit is from a 1989 Experimenter Handbook. The transistors used are still common.