I too like to freeze my flour when I first bring it home from the shop. I then pour it into large plastic airtight containers kept in the pantry. I haven't had any problems with moths this way, even though there have been moths in the pantry at times.
Also, I bought 20kg of wheat months ago, and store it in a large metal rubbish bin with lid. I did bag it into 2kg lots for ease of handling. I then have cycled most of those bags through the freezer to kill any eggs. But not all the bags of wheat made it through the freezer. I haven't had any problems with weevils in either frozen or unfrozen bags.