Some car alarms add an auto lock feature. I know on the easy go kit it adds autolock when you put your foot on the brake after starting the car. Otherwise, almost anything can by done with relays, see here:
http://www.the12volt.com/doorlocks/page3.asp#al