When dual enrollment (high school + college classes) is HARMFUL for admission ?

many kids are admitted with a lot more than 20 units, or 100 units without problem. no disadvantage for any amount of classes taken before high school graduation. 20 units are not that uncommon.