The alarm goes off while I'm driving. Is there a way to deactivate the alarm? on 1995 BMW 540i

When I get in and lock the doors the siren goes off for about 2 to 3 mins but lights continue to flash for about 10 minutes.

Asked by for the 1995 BMW 540i