@IJWS15
Great clue from @Risteard (its also known as step dimming)
I Googled "corridor function dimming" and there's plenty of ideas:
THIS
THAT
ANOTHER
Note that some of these need quite a bit of electrical knowhow and additional wiring.
Personally, you really should reconsider two smart bulbs in two adjacent lights and control via smartphone or another acceptable control method.
Thanks, THIS is what we are looking for.