do you have the factory alarm?
my clifford alarm did that too. but just because it would automatically lock the doors when i drive then it takes like 5 seconds to unlock it when you shut the car off. so when i'm in a hurry i would unlock manually, get out and arm it. but then it would still unlock and the alarm would go off