Every Christmas light string I have seen has had a small fuse inside of the plug, so even if you managed to get a female plug full of water or something and somehow manage to get shocked before a breaker trips in the outlet, you’re probably just going to blow the fuse.
You can’t do the yard work at 6pm instead? If your neighbors are having loud parties every week then yes you should talk to them and say it’s affecting your sleep, and if they don’t listen report them. My neighbors came over and said they would be playing music past 10pm and if that would be okay. Not being noisy when your neighbors might be asleep (even if it’s a big inconvenience) is just being considerate. If your neighbors are being noisy and you have no recourse then that’s a obviously different.
Also, get a sun hat and a handheld fan, take breaks, unless it’s a literal heatwave then you can manage (source: have done yard work at noon during a heat wave)