After the beans have been cooking under pressure for 20 minutes, carefully release the pressure and open the pressure cooker. Add the sofrito, chopped chorizo, ham, and potatos. Add the salt, oregano, cumin, sazon goya, and bay leaves. Stir all together. Bring the beans to a boil and allow to boil for 10 minutes.