I read that in Mexico, the cooks put the unopened can of condensed milk in the bean pot.
As the beans cook for hours, the condensed milk becomes dulche de leche (caramel).
That sounds like a very good idea! You have to cook beans very slow, or they’ll scorch on the bottom.