Sounds like your thermostat and control circuit are powered by 12 VDC power. Turning one lights which are on 12 volts also, causes a voltage dip that is low enough to drop off the control power to the unit. Check your voltage to the A/C control while turning on the lights. You may have a loose connection in the control circuit, a bad power converter and / or weak batteries.
Amateur Radio Operator (KE5DFR)|Full-Time! - 2012 6.7L Ford Crew Cab Dually -2013 HitchHiker Champagne 38RLRSB - Travel with one Standard Schnauzer and one small Timneh African Gray Parrot