You cannot kill Harley Quinn—or any character—in LEGO Batman 2: DC Super Heroes.
LEGO games are non-violent by design:
Harley Quinn appears as a boss/playable character; you knock her out or solve puzzles to progress. If you want mature combat, LEGO games aren't the genre.