What a riff, what a tune - Oh Pretty Woman by Roy Orbison!
There are there sections in the song, the riff, the verses, and the key change. Learn each separately, then try and put them together.
For more background on musical keys, check out this free video.
For help with barre chords and single note riffs, check out my Improver Guitar Course here