I keep a tin of that there Vaseline (above) in my pocket when I ride, mainly through the summer. I use the green one, just because.
You need to keep sticking it on regularly.
You’ll probably find that you instinctively lick your lips when riding (I do) and that’s what causes the problem in the fist place. You lick your lips, they dry out, you lick them again, they dry out, they start getting sore & dry so you lick them more…..etc.
My yin has even got the scars of falling off – it’s dented to bits.
They are only a quid or so, so it’s worth getting a few tins and putting one in the car, one in your Camelbak etc…..