No, even outdoor-rated extension cords are not meant to be buried. For any wiring intended to go underground, you should use conduit and follow local electrical codes. Holiday lights, however ...
These indoor and outdoor lighting options are sure to turn your whole home into a bright, colorful beacon of festive cheer. White string lights are the best lights for a classy Christmas display.