The problem is likely in the lock assembly, as it has switches that control power to the heat circuit. This is separate from the light switch. In the console of your oven is a tech sheet showing the circuits.
Did you provide all the numbers in the model? If not, perhaps a manual is available..
Example: WFC2062/05
