Why does the horn in the car cut on automatic? on 2001 Audi A6 Quattro

The horn makes a beep beep beep noise in hot weather without me turning on the car. It turn on and off and at times the door will lock and unlock automatic. What could it be?

Asked by for the 2001 Audi A6 Quattro