Don't bury outdoor extension cords. There’s a better way to manage the electrical connection to your light displays.
Cable protectors or cord channels also work well for managing loose wires while keeping them safe and tidy. No, even outdoor-rated ... conduit and follow local electrical codes.