Derek Cole explains why heat pumps freeze during heating. Low refrigerant from a leak or restricted airflow from clogged filters are the main culprits. Look for frost or ice on the refrigerant line as a sign something's wrong.
Chapters
What causes your unit to freeze over when you have the heat on.
So you got a heat pump. I'm assuming if it's a heat pump, refrigerant still can flow back and forth. So you could have a refrigerant leak causing the unit to freeze or you could have an airflow problem. What I've seen in that regard are people who are buying filters that are high rated and MERV rating which means they're very allergy efficient filters. But the problem is they're also stopping up the airflow as it comes into the return grill. So when the unit starves for air it then freezes up. You see that if you go outside to your unit you'll see the frost and the ice build up around the refrigerant line. That's cause it can't breathe. Trying to run a marathon through breathing out of a straw, it's not working out very well so therefore it's freezing up. So usually those are the two big problems, refrigerant and a lack of refrigerant or it's leaking and airflow.