The F-10 error code normally indicates a runaway temperature condition on most Kenmore ranges beginning with model 790. . .
Since you are seeing this code when the range is off, then you likely have a failed oven temperature sensor probe. Unplug the range or shut off the breaker
to disconnect the electrical power. Shut off the gas supply. You can
now access this component to check it. On most free standing ranges,
you can pull the unit away from the wall and remove the back lower panel
to access the oven temperature sensor probe. The sensor protrudes
through the top of the back wall of the oven cavity. Unplug the wiring
connection to the probe and measure the resistance through the probe
with a volt ohm meter. At room temperature, you should measure about
1100 ohms. If you measure over 2000 ohms through the sensor, then this
failed sensor is causing your F-10 code and it will need to be replaced.
You can order a new temperature sensor from the Sears PartsDirect
website. Use your full model number to access the diagram and parts list for your range.
If the sensor tests okay, then you could have a wiring problem or a failed electronic oven control board.
If you need more help, resubmit your question with additional details and the full model number of your Kenmore range.