tailgate is staying locked when car is unlocked with remote this tailgate does not have a key hole.
Electrics, ECU, Warnings & Lights
Have you checked the settings menu in case it has an option to keep boot locked when using to open doors ? some cars have this .
possible broken wire between tailgate and body in rubber trunking