I think it might be unrelated to you altering the locking. I've seen a few with this fault, its not unusual for broken wiring in the tailgate harness to cause a fault like this. If your near Huddersfield we can sort this for you
www.autoelectricianinhuddersfield.co.uk.