Vapor lock occurs when the vapor pressure of the fuel is higher than the surrounding environment. In older engines with "sucking" fuel pumps at the engine the pressure in the fuel line to the tank was reduced by the sucking action of the fuel pump drawing fuel form a fuel tank nearly twenty feet away, and when heated, the gasoline actually boiled creating a vapor of gasoline which the fuel pump could not handle, thus the name "vapor lock".
wink