If the doors unlock themselves, it's often because the alarm "thinks" there is a key in the ignition. Improper installation of a turbo timer can cause this. This is a feature designed to prevent you locking your keys in your car.
If the alarm does not go off when the door is opened, the door pinswitches require cleaning or replacement. The switches corrode over time. Sometimes cleaning with baking soda is all that is required.