In the Instant Pot set Saute mode to 10 minutes.
Allow insert to become warm, about two minutes. Next, add in oil.
Once oil is warm, add in sofrito, dried oregano, cumin, and bay leaves.
Stir for a minute.
Add in pinto beans, stir, and add in water.
Press cancel mode to stop the saute mode.
Cover with lid, set to sealing.
Next, press high pressure timer for 45 minutes.
Once timer goes off, let naturally release for 10 minutes before setting to quick release.
Stir and taste for salt and pepper. Season to your liking. Remove bay leaves.
With a hand blender, gently blend beans to your desired consistency.
Mix and add lime juice, if desired.