*If after 40 minutes your beans aren't cooked through (yikes!) and you have the time, just slow cook them, covered, to your liking. They should be close with this timing, but you never know! The age and quality of dried beans varies dramatically. Alternately, you can reseal the IP and go for another 5 or 10 minutes.
For reference, this is the Instant Pot I used for this recipe: Instant Pot DUO Plus 6 Qt 9-in-1