Prepare the brine by combining water, kosher salt, brown sugar, black peppercorns, and crushed garlic in a large pot. Heat until dissolved, then cool completely.
Once the brine is cool, add rosemary, thyme, onion, and lemon. Submerge the turkey in the brine in a large container or cooler. Cover and refrigerate for 12-24 hours.
Preheat your oven to 325°F (163°C).
Remove the turkey from the brine and rinse under cold water. Pat dry with paper towels.
Rub softened butter all over the turkey, including under the skin for maximum flavor. Season generously with salt and pepper.
Place the turkey breast-side up on a roasting pan. Tent loosely with aluminum foil.
Roast in the preheated oven for about 3 hours, removing the foil during the last hour to allow the skin to brown. Baste the turkey every 30 minutes with the pan juices.
Use a meat thermometer to ensure the turkey reaches an internal temperature of 165°F (74°C) in the thickest part of the breast and thigh.
Once done, remove from the oven and let the turkey rest for at least 30 minutes before carving.