I pack mine in new paint cans. I use two gallon baggies as a paint can, fill up with beans, toss in a couple of 02 absorbers, twist tie. Bang the lid down with a rubber mallet. The lack of oxygen kills any beasties. I've put them in the freezer for a couple of days before, but when you are packaging up a couple hundred pounds, putting them is the freezer is inconvenient. I put up rice and grains the same way.
If you just are storing them for a short time, not long-term, then you can use canning jars. You can put a little oxy absorber into each jar then a lid and ring, the absorber will draw out the oxygen and seal down the lid. New bugs can't get in to lay eggs, and any in the jar will die from suffocation.
Or you can put the lids on, then freeze the filled jars in a chest freezer for a week to kill any critters.
Or, you can put the jars in a 5 gallon bucket, add a little chunk of dry ice on the top of each filled jar and set the bucket lid on top of the bucket while the ice evaporates. DO NOT seal the jars or the bucket, just set the lid on top so there is room for any excess gas to expand and leave the bucket.
The CO2 is heavier than oxygen and will displace the air in the bucket. As soon as the dry ice has evaporated, carefully reach into the bucket and put a lid on each jar. Then you can take them out.
I use 1/2 gallon jars because they hold a good amount. You can use just the bucket but you run a chance of reinfestation when you open it because it takes a heck of a long time to use a 5 gallon bucket full of dried beans.
Are you buying beans in the small plastic 1 or 2 pound bags?
Or are you purchasing beans in the larger 25 pound or larger bulk bags?
I have packed beans in the 1 or 2 pound individual bags (pinto, black, red, kidney, navy, etc..) inside several layers of one gallon heavy duty ziploc bags, those are placed inside a 2 gallon or larger sized ziploc bags. Then those large bags are placed inside large rubbermaid plastic totes. I also store my rice and other dry goods in the same way. In fact I have 4 large rubbermaid totes of dry goods, stacked along the wall in my living room. Plus I have some additional dry goods (flour, corn meal, dry milk, etc..) stored in ziploc bags in plastic buckets with gamma seal lids, that are stacked in my kitchen.
When I made some pinto beans last week, I used some that were at least 4 years old with no problems when they were pre-soaked and slow cooked.
I have never freezed beans before packing them, but I do freeze bags of flour before it goes into long term storage.
Smarter than the average bear, sitting here on my hilltop 80 acres in the fog above the ocean...
"Life is tough, but it is tougher when you are stupid." - John Wayne
We grow our beans to dry. After they are good and dry in the pods I shell them and put them in a glass jar with a screw on lid and lined with a brown paper lunch bag. I use the paper bag as a percaution incase even a little moisture were to get into the jar.l have also kept beans in dry pods over the winter until I had time to shell them. Dried beans, peas, lentils all will keep for years if stored properly.