2002 ford explorer

I have a 2002 ford explorer (xlt)ocassionally when the doors are locked with the car not moving the alarm (horn) comes on at random. Sometimes or most time while driving the locks opens and closes and a buzzer comes on. I get the sense the doors or door are trying to indicate openning.