Don't freeze uncooked beans. They won't cook well after defrosting. It's OK to leave beans slightly undercooked before freezing (it's a best practice when it comes to freezing baked beans.)