You'll need to pay the rest of the amount. You won't be able to get another phone on the next program until you pay this one off. No, they won't penalize you.
AT&T won't know. As noted above, you'll have to pay off the remaining balance before you can get another phone on the Next plan for that particular line.