Welcome to Just Answer. My name is XXXXX XXXXX I will be glad to assist you.
This is common due to a faulty hood latch switch or aftermarket alarm installed.
Look under the dash for any sign of aftermarket black box with not factory wires hanging down. Remove and reconnect any wires that were cut during the install/removal.
Inspect the hood latch switch and test for proper operation.
Lube all door latches with WD40.
Make sure all hood, trunk and doors close properly. Verify that the door ajar light and dome light go off while driving.
Please let me know if you have any additional questions. ThanksDrew