The teacher said if I was late he would lock me out.
Have you discussed this problem with your parents?
No because I don't want them to get involved with my school business.
If you are having trouble getting to class on time, you should discuss the problem with your teacher and apologize for your tardiness. Talking to your teacher about why you are late will help him to be more understanding.
I've talked to him to and he still won't let me in so...
I think you should tlak to your parents then. Can you wake up a little earlier? Maybe your parents can drop you off instead?