Around a week ago everything was force closing on my N4 so I decided to reboot it, when I did it got stuck in boot loops. Because of this I went to wipe the data and cache so I could flash a Rom but when I did all my data from my SD partition had disappeared. This has happened to me before and the way I solved it last time was to unroot and flash back to stock using the Nexus 4 toolkit. However when I went to do that this time it said my boot loader was locked so I couldn't complete the task. So then I unlocked the bootloader which apparently is successful but when I refresh the bootloader it seems to be locked again. Over the last week I have tried sideloading zips, force flashing, unrooting, unlocking the bootloader and all this on both a mac and windows toolkit.
When researching this problem I only could find one thread which resembled my problem on xda however it was about the Nexus 7 and the person ended up sending it back to Asus. Would be great if someone good respond, thanks!
(Also my device is a Rooted UK 16gb if that helps)