Turn the Instant Pot® on. Choose the Sauté program and the Normal setting. it has come up to temperature, add the olive oil.
Add the garlic and onions, and cook, stirring frequently for 3 minutes, or until it begins to soften.
Add the rice and stir for 1 minute. Add the lemon juice and stir for 1 more minute. Add the broth, stir through.
Close the lid and the vent, use the Manual setting and cook on High for 35 minutes.
Quick release the pressure according to the manufacturer’s directions then open then lid. Turn the setting to Sauté and Less. Add peas and stir for 2 minutes, stirring constantly, allowing excess liquid to evaporate.
Stir in the shrimp and cook for 2 minutes. Season with black pepper.