In a small bowl combine all the ingredients listed under marinade.
Cut leaves from the bottom of the cauliflower head. Carefully trim the stem without cutting the florets. It will help the cauliflower to sit flat on the trivet.
Rub the prepared garlic-herb marinade on the cauliflower head evenly.
For the gravy, heat oil in saute mode of the Instant Pot. Add onion and whole garlic cloves; cook until translucent.
Then add vegetable stock, thyme and lemon juice. Place the trivet into the Instant Pot.
Put the whole cauliflower head on the trivet. Cook for 3 min on manual high-pressure mode. Allow pressure to release naturally for 5 min and then quick release the remaining pressure.
Carefully transfer the cauliflower to an oven-safe dish or tray. Optionally, broil it 3-4 min in the oven to get a nice crust.
Turn on the saute mode in the Instant Pot.
Add flour to the gravy base and blend everything using a hand blender until it gets to a smooth consistency. Add salt and pepper according to taste.
Cook the gravy for 3-4 min and serve warm with the cooked cauliflower.