The short answer
Cold weather slows a compost pile, and a freezing pile stops working for a while. You can still keep composting through winter by making the pile bigger, insulating it and keeping the mix right. You should expect much less progress until the weather warms up, and that is normal.
Why winter slows a pile
Microbes that break down compost are most active in warmth. As the air cools, the outside of the pile cools too, and in a small pile the cold reaches the middle quickly. Frozen material is inactive. Winter rain or snow can also soak the pile, which adds to the problem if it cannot drain.
Insulate and enlarge the pile
A larger pile holds heat better than a small one, because it has more material to keep warm. Illinois-style extension guidance notes that bigger piles generate and retain more heat, while small piles are more likely to freeze. Cover the outside with a thick layer of leaves, straw or other dry browns to slow heat loss. A lid or tarp keeps the pile from soaking up rain or snow. Keep the insulation dry, since wet layers conduct cold well.
Chop and keep the mix right
Smaller pieces break down faster, and that still applies in winter. Chopping before you add material helps, though the effect in a cold pile has not been well measured. Keep a good balance of greens and browns, and check the squeeze test in how wet compost should be. A pile that is too dry or too wet will slow even more.
Turning in winter
Sources disagree on this. Some extension guidance says not to turn a winter pile, because opening it lets interior heat escape. Other guidance suggests an occasional turn or aeration to keep an active pile going. A reasonable approach is to leave a frozen pile alone, and to turn a pile that is still warm and producing heat only when needed. If the centre is still warm, a gentle turn may help. If it is frozen, leave it.
Adding scraps in cold weather
You can keep adding kitchen scraps through winter, as long as you bury them in the middle of the pile and cover them with browns. Frozen scraps can be added in small amounts, though they will break down more slowly. Keep meat and dairy out, as in can you compost meat and dairy. Frozen scraps that clump together can also be chopped before they go in.
What to expect in spring
By spring, a well-insulated pile often shows signs of activity again as the weather warms. Expect the material to be less broken down than in summer, and plan to turn the pile and check the moisture once it warms up. If progress is still slow, see why is my compost taking so long.