Add the chicken stock or water to the Instant Pot. Place the trivet in the bottom.
Place the garlic, lemon, and fresh rosemary into the chicken cavity.
Rub the olive oil over the chicken and sprinkle with dry seasonings including salt and black pepper.
Place the seasoned chicken on the trivet into the Instant Pot.
Add the lid and secure it, setting the value to sealing.
Program using “manual” or “pressure cook” for 25 minutes.
After the cooking time is complete, allow the pressure to release naturally for 15 minutes before quickly releasing the remaining pressure.
Test the chicken for doneness with an internal thermometer, checking the dark meat between the thigh and breast for a temperature of 165 degrees. If the chicken is not done, replace the lid and program the electric pressure cooker to cook for an additional 5 to 10 minutes.
Meanwhile, place the oven rack in the lower third of the oven and preheat the oven broiler.
When the chicken is done, carefully remove the chicken from the electric pressure cooker and place on a rimmed baking sheet.
Place the chicken under the broiler for 5 to 8 minutes, watching carefully until the chicken is browned.
Remove the chicken from the oven and allow it to rest 10 minutes prior to slicing and serving.