Yes, you do need to make sure your oven door is completely closed before you start to cook your food. Most ovens are not going to turn on if the door is not completely locked.
And even if you can get your oven to turn on, I strongly advise against it, as it not only poses a health hazard, but will also skyrocket your utilities due to loss of heat.