Sorry you had this experience. The best way to avoid it is to go to an established studio that's been in business for a while. And don't buy any large packages of lessons, especially not at first, until you know that you like the instructor and the studio. Legitimate studios usually offer a range of lesson packages, starting from a cheap "new student" special for a couple of lessons.
Unfortunately, there are con artists in every field.