You have to spray a lot of WD40 thru "children lock" lever hole. This hole is not visible with closed taligate but you can find the way to reach this hole with a cannula spray. When children lock lever is released, you will be able to operate lock with high probability. After this, you shouldn't close tailgate again: You should at least clean and relubricate lock mechanism.
Regards