Preheat the oven to 180°C.
Lay the carrots in a baking dish.
Cut the lemon into 1 cm thick rings and put these on top of the carrots.
Lay 3 sprigs of thyme on the lemon rings. Put the chicken on top.
Cut the garlic into thick slices. Make a couple of incisions in each chicken leg and push a piece of garlic into them. Scatter any remaining garlic around the chicken.
Season with salt and pepper and sprinkle the leaves of the remaining thyme all over.
Drizzle with olive oil, then bake for 35-40 minutes until golden, turning once.
Serve with sides dishes of your choice and pour the cooking juices over the chicken.