Firstly I flash the factory image... Factory image should be older build and not newer build.. Then relock your bootloader.. After that check for update from setting.. Download the update and install update...How did you relock it saying official
Sent from my MotoG3 using XDA Free mobile app