Why is your door open in the first place?
I'm sorry to let you know this, but all parents know that their children mastrubate. I'm telling you. If you don't think your parents know that you mastrubate? You must think they are retarded. Your parents were teenagers too.
About the door peeking?
I would take a quick shower, and mastrubate fast. Lock the door too.