A dirty fuel filter will cause it to act out of gas after a short run, then allow more gas to enter, but again after a short run kill it..
Vapor lock happens with the fuel pump is pumping vapor only, no gas, this requires several things. One is heat and another is no fresh (cool) gasoline entering chamber to cool it.
THIS can only happen if the pump is engine mounted (Electric pumps mounted at a distance tend not to vapor lock,, in tank pumps (not applicable here) DO NOT Vapor lock, ever) and the motor off so not drawing gas.. once it is running vapor lock is out of the question.
But dirty filters.. Those cause just the issue you cite, along with fuel line issues discussed up-thread.