Heat the oven to 450 degrees F. Pat the turkey dry inside and out with paper towels.
Mix the butter, salt, pepper, thyme, rosemary and garlic in a small bowl.
Gently loosen the skin over the breast with your fingers and spread half the butter underneath. Rub the rest over the outside.
Fill the cavity with the lemon halves and onion quarters.
Scatter the carrots and celery in a roasting pan and pour in the chicken stock. Set the turkey on a rack in the pan.
Roast at 450 degrees F for 30 minutes, then reduce the heat to 325 degrees F.
Roast for about 2 hours and 45 minutes more, until a thermometer in the thickest part of the thigh reads 165 degrees F.
Let the turkey rest for 30 minutes before carving. Pour the pan drippings into a jug for gravy.