How to connect a switch to two lamps?
Zero is connected directly, as you painted in your illustration, and the phase through the switch to the light bulbs. I enclose the scheme.
If the bulbs are located in different places, then according to the circumstances, act, the main thing is that the zero is directly to each of the lamps, and the phase is directly to each of the lamps. For example, start the zero directly to the first lamp, two wires between the first and second lamps, one straight zero, connect it to the same terminal with the incoming zero from the distribution box, connect the phase from the switch to the second core, that is, connect the wire from the switch to the lamp closest to it and in the luminaire housing, in one terminal, connect the phase conductor to the second luminaire. I hope I clearly explained.