A KitchenAid oven may have a door lock that stops accidental opening of the oven door during the oven self-cleaning cycle, a control panel lock that prevents accidental changes to oven settings, or both. Typically, locking issues result from user error or oven malfunction.
Oven Door Locks
The oven door may have a manual lock latch above the door that you must slide completely to the left to unlock, or an electronic lock that automatically unlocks after the cleaning cycle ends and the oven cools. In either situation, KitchenAid ovens are designed to not unlock until at least an hour passes--the time it takes for the oven's interior to reach a safe temperature.
Control Panel Lock
The control panel lock requires that you touch one or more end-function keys such as "End" or "Cancel" on the control panel for 3 to 5 seconds to unlock it. The control panel won't unlock if you press a key for less than 3 seconds or press the wrong key.
A malfunctioning lock requires that you trick or reboot the electrical sensors, or acquire professional repair assistance. To trick the door lock, restart the cleaning cycle, wait 5 minutes, cancel the cycle, wait an hour and try again. If this fails, or if the control panel won't unlock, reboot the oven--unplug the oven, wait 5 minutes, plug it back in and try again.