Beans are usually hard, but if they are a new harvest, they will cook much faster than old beans. It could possibly take longer than 20 minutes to cook through old beans.
I highly advise against overcooking beans as they'll turn into a cream. You want them soft, but not soggy and mushy.
Cook time can also vary upon the type of pressure used. I used an Instant Pot.