I put my bags + compost in the fridge freezer, which prevents smell and also prevents the bag from biodegrading before I can take it out.

I recommend this approach in general.