An F0 fault code can indicate 3 different things; A defective electronic control, a 'stuck' button in the control's keypad or a relay of the control "turned on" (which would usually cause an overheating condition).GE range model J2B915SEH1SS touch controls become unresponsive and display screen gives a function error code of "FO"
If the range is not overheating when the error occurs, that should leave just the electronic control and the keypad (which is part of the control panel) as the most likely possibilities.
A test that can sometimes be used to isolate whether the keypad or control is responsible is to disconnect one from the other to see if the error returned. If the error returned even while the keypad was disconnected, it would point to a problem with the control being the most likely. If not, the control keypad would be suspect (but not absolutely guaranteed to be the cause).
LINK > GE J2B915SEH1SS Electronic Control
LINK > J2B915SEH1SS Control Panel and Keypad
Being as you say it only occurs while heating, that test may not be able to be performed since you would not be able to operate the oven with the keypad disconnected. It might however be able to be disconnected while the error was present to see if the display changed in the process.
Working on a 'live' appliance can be dangerous. It is not advised that persons unfamiliar with standard safety procedures attempt it.
My guess is that there may be a 'cold solder joint' in the electronic control which is affected by the heat generated during cooking. Such a failure would usually require the control to be replaced.... after oven runs for awhile.
The Appliance Information Site