What do you do when your oven door locks?
Considering this, why does my oven says unlock door?
There is a micro switch mounted on the door lock assembly that could have welded contacts signaling the control board the door is locked. If it does, replace the latch assembly. If it continues to display "unlock door", the electronic oven control will need to be replaced.
Simply so, why did my oven locked itself?
If your oven is cool, then you may have Child Lock turned on or need to power cycle the range to unlock the door. When the range is too hot, the door will lock. On some models, the door will also lock when the range is powered off. To unlock the oven door, power on the range and/or allow the oven to cool down.
The range Lockout feature allows the user to lock out all oven and surface burner operation. As of summer 2013 (with the exception of the CGS985, CGS990, and C2S985) the control lockout button locks out the oven controls only, not the gas burners.