the front wheel shouldnt lock up to do a stoppie, it continues to roll while the front brake is applied, while the rear is off the ground. its pretty much just a rolling endo.
skidding the front wheel is bad news, but if your skills are up to par (from SS MTBing) you should be able to recover.