While the P-38 "Dive Flaps" do provide the needed forward lift as WideWing noted, they also have a few other "Nifty" characteristics that should be noted.
#1 they refuse to deploy at high speed, as the electric drive motor WILL NOT and does not have the power to put them out.
#2 If Dive speeds are exceeded, they tend to be either driven back, or the actuation arm bends or breaks all together resulting in a terminal dive.
#3 They WERE NOT standard equipment on the J and L, and in some cases were even removed to save maintenance headaches.
One of the Lightnings I have in our shop now suffered the failure noted in #2... it's leading edge and most of the wing is less than a foot thick... (Nose to Trailing Edge) Another, is an L, which does not have Dive Flaps... they are there, just faired over, and the work was done during the war as judged by markings on the metal. Just an FYI for ya'll.