I know the Ki-84 does, or at least it did when I was flying it. However, I very rarely sped up to the point where the flaps would autoretract, and I can't remember ever actually stalling and spinning because of it. But I've never done that in the P-38 either. I imagine the Niki does, because you really get on the flaps in that plane, unlike a Spit, where flaps are very rarely needed.
With all that said.. I really actually DO like (I think Virgils) way, where instead of the flap auto-retracting, it just jams. Won't go up, won't go down.
That would keep the pilot from getting screwed in *that* fight, but basically screw him in any fight after that. That seems like a good compromise to me.