Do you have a European specification car with auto dip function for the low beams? In that case there are small motors behind the headlights (accessible from engine room). These motors draw too much power and cause such alarms. Remove the plug from the dip motors and see if there is still an alarm.
I understand that all lights work fine, but that you get an alarm.
If it is the other way round, that you have failures of lights, then resolder the socalled mustard relay and the LKM, all mentioned on my website below under e32fixes.com
Pls use on top of this page at left side the User C/P and complete your profile with relevant car data such as built date, engine type etc., as shown here on the left under my name. Helps a lot to help you.