Use diodes arranged this way to feed power from headlamps to the other positions on the headlamp switch.