Add ½ of a lemon, ½ of an onion (cut in half to fit, if needed), 3 garlic cloves, and fresh thyme, to the cavity of the chicken.
In a small bowl, mix together the oil and spices/seasonings.
Rub the oil and spice mixture over the breast of chicken, under the skin. Also rub the spice and oil blend on the outside of the skin.
Carefully add the chicken to the hot Instant Pot, breast side down. Carefully rub the remaining seasoning on the back side of the chicken.
Brown the chicken for 2-3 minutes on the breast side. Using a set of tongs or two wooden utensils, carefully flip the chicken. Let the chicken brown for 3 more minutes.
Press Cancel on the Instant Pot to turn off the saute mode. Add 1 cup of broth (or water) around the chicken.
Close and lock the lid in place, then turn on Manual/High Pressure for 25-30 minutes (30 minutes if the bird is large and on the 4lb side). As a general rule, you need to cook the chicken 6 minutes per pound. The valve on top should be set to Sealed.
Let the pressure release naturally. This is important to avoid DRY chicken. Once the pressure has released you'll be able to open the lid--the lid won't open when there's pressure still in the pot.
Carefully remove the chicken from the Instant Pot. The chicken may fall apart. Once the chicken is cool enough to handle (a few minutes), shred or cut the chicken.
If you used broth and want to make a jus...
While the chicken rests, turn the pot back on to Saute, normal and add a pat of butter to make pan sauce. Saute to desired thickness as au jus (a thin gravy). Serve the jus/gravy over the chicken, if serving as a meal.