I'm not sure of your location, so it is hard to target the best remedy for your climate but I will give a shot.
In the spring/summer months where insect populations start appearing, when I add fresh kitchen scraps I make sure to cover it with a layer of browns. Leaf litter, shredded
cardboard, or paper. This seems to keep down the bugs for me! Anything that is especially smelly (Meats, oily products, squishy pulpy nastiness) I make sure to make a small hole and in the compost and insert.
Another option would be to literally dig a hole in your
garden bed, place the kitchen scraps in it, and then cover the hole to plant the following year.
I'm a lazy gardener too, but there a few things that require an input of effort and that is compost for me.