I have read that the tailgate needs to be locked/unlocked manually even with keyless entry. I agree its ridiculous but there are already some aftermarket locking systems available online. This kit from Eagle 1 will work with the factory fob. https://www.auto-domus.com/en/pickup/mercedes-x-class-tailgate-central-locking-system.html