Well there are some things you can do if the surface is tilted or less than ideal. If the bike starts rolling make sure it's in gear. If you can't get it in gear, take your jacket off, roll it up and wedge it under the back of the rear tire to keep the bike from moving. If the surface is uneven, and you are having difficulty raising the bike, consider using a "temporary support". Take your helmet and set it down by your feet. As you raise the bike up 4, 6, 8 inches or whatever, kick the helmet under the bike. This will hold the bike up while you reset your body and grip into a better pick up position. I don't advocate using a helmet in a manner not intended, but once again these are small things you can do when you are by yourself.
As for the rider who dropped his bike 10 times in class, I applaud his determination. In his effort to improve, he was no doubt pushing himself beyond his comfort zone.