Take the turkey out of the fridge one hour before cooking and let it come to room temperature. Preheat the oven to 425°F (220°C). Remove the giblets and pat the turkey dry inside and out with paper towels.
Mix the softened butter with the minced garlic, chopped thyme, rosemary, sage, lemon zest, salt, and pepper in a bowl until evenly combined.
Gently loosen the skin over the breast with your fingers, being careful not to tear it. Spread half of the garlic butter directly onto the breast meat under the skin. Rub the remaining butter all over the outside of the turkey.
Fill the cavity with the quartered onion, the lemon halves, and the thyme and rosemary sprigs. Tie the legs together with kitchen string and tuck the wing tips under the body.
Place the turkey breast-side up on a rack in a large roasting pan. Pour the chicken stock into the pan. Roast at 425°F for 30 minutes until the skin starts to turn golden.
Reduce the oven temperature to 325°F (165°C). Continue roasting for about 3 hours, basting with the pan juices every 45 minutes. If the breast browns too quickly, cover it loosely with foil.
The turkey is done when a thermometer in the thickest part of the thigh reads 165°F (74°C) and the juices run clear. Remove it from the oven and transfer it to a carving board.
Tent the turkey loosely with foil and rest it for at least 30 minutes before carving. Pour the pan juices into a jug and skim off the fat to make gravy. Carve and serve with the sides.