Thanks for your feedback Gamith and Rojie, appreciated!
I'll check the fuse you mentioned Rojie. Tend not to use the tailgate under power so if the fuse has blown then I wouldn't have noticed. When closing manually it shuts no problem, the soft close mechanism pulls the tailgate in snuggly - just doesn't lock for some reason. I'll investigate tomorrow and see what I can discover.