Oven not lighting.

The oven is not lighting. my wife says that if she wiggles the oven lock that she can get it ro light. is there a switch on the oven lock latch that prevents the oven from lighting? Any suggestions would be very helpful.