ABCA12 is primarily responsible for the transport of lipids to lamellar granules in keratinocytes. These granules are critical for the formation of the extracellular lipid barrier in the stratum corneum, which is essential for maintaining skin hydration and protecting against environmental insults.