Place olive oil in the bottom of the Instant Pot and set to sauté mode
Add onions and garlic sauté until tender about 3 minutes.
Pour over chicken broth.
Add Black-eyed peas, ham hock, thyme, salt, black pepper and stir.
Add in bay leaf.
Dump in the can of tomatoes on top.
Set Instant Pot to pressure cook for 10 minutes.
After time is up, allow it to slow release for 15 minutes, then release the valve to let off steam.
Open the pot, and remove the ham hock and bay leaf before serving.
Note: With this method, the ham hock won’t break down but will flavor the beans.