Depending on how old the beans are, they can take longer to cook or cook unevenly. If you still have undercooked beans after the recommended cooking time, simply put the lid back on and pressure cook for another 5 minutes (with 10 minutes natural release) until they're fully cooked.