I've found that listening to music with lyrics is indeed problematic with tasks requiring focus. Luckily there's a plethora of electronic music genres without any spoken words :)
at least for me, the trick is to listen to music in a different language than you don't speak(in my case Japanese), since you won't understand a word you won't lose focus with the lyrics