When the engine warms up, the mixture gets richer, not leaner. When cold, two things happen:
- raw fuel can drop out of suspension, deposit on the walls of the intake, less fuel getting into the chambers, lean mixture. This is precisely why a choke is needed, to richen the mixture & provide a combustible mixture for a cold engine.
- once the engine is heat soaked [ warmed up ], the incoming air gets heated by the surrounding metal & richens the mixture.
This problem sounds electrical, like running out of spark. I would try this. Warm up the engine. Run a jumper wire from the coil +ve terminal to bat +ve terminal & test drive. Drive just long enough to test for the problem, because the coil will get hot.