Catalyzes the cyclization of (S)-2,3 oxidosqualene to lanosterol, a reaction that forms the sterol nucleus. (S)-2,3-epoxysqualene = lanosterol Terpene metabolism; lanosterol biosynthesis; lanosterol from farnesyl diphosphate: step 3/3. Belongs to the terpene cyclase/mutase family.