This other thread shows how to model an LDR. Varying resistance is intrinsic in LTSpice, you really dont need an "LDR component". You do need to know (from a data sheet, or from the maker) a Resistance vs illumination curve, either as an equation, or as a graph...