Careful with cooking times!
I added the lentils later than the rice as they had different cooking times (7 min vs 15). I also added steps at the beginning to cook the rice more like a risotto (adding rice to the onions and cooking it for a while before deglazing with white wine and adding the stock bit by bit)