The main themes of D&D – heroic fantasy, Good vs Evil, zero to hero, flashy magic – are not Lovecraftian. But, to add to what @pemerton said, there are a number of Lovecraftian elements in the 5e D&D core rules:
The "Great Old One" warlock patron, the Far Realm, Tharizdun, cultists, ghouls, and...