172 Skyhawk engine shuts off randomly in career mode

Just to add to this after reading another post, Cessna 172 engine randomly stops in free flight mode
when this is happening, i checked the fuel valve and sure enough, it had closed.
I checked to see if a key was bound to this and it’s blank.
As I stated to the above post this is happening to other prop aircraft as well, although I haven’t had a chance to re-check if it is the fuel valve being randomly closed.