If you ever buy a few bags that you won't be able to drink in the few weeks it's at peak flavor, you can keep it fresh in the freezer provided that the packaging is airtight and you let the beans come to room temperature before opening the bag (so you dont get condensation).
For example, I bought a bunch of coffee when I was on vacation, and i know it would otherwise lose peak flavor if I kept it in my cabinet.