Oxidosqualene cyclase that generates lupeol, a triterpenoid product. Lupeol is probably required to coat the leaf exterior as a defense compound against pathogens or herbivores. (S)-2,3-epoxysqualene = lupeol Expressed only in the epidermal cells on both sides of the leaf and not in internal leaf tissues. Belongs to the terpene cyclase/mutase family.