Checked the coolant pressure? Mine used to freeze up when the freon got low.
It also can freeze up if the blower is set too low, the cooling coil will freeze up as the air isn’t flowing by it fast enough.