Try 2-3 times.
But first root with easyroot then backup the TA partition then while in root, unlock. Everything will work.

Sent from my Xperia Z2 using XDA Premium 4 mobile app

SGS1 - SlimRom; SGS2 - SlimRom; SGNote - Stock, replaced with HTC Butterfly
Sony Xperia Z2 - Stock.