Its a fault with the lock/deadlock by the sounds of it, when you open from the inside the mechanical action of opening the door is overriding the deadlock but unlocking it with the key isnt. Its not getting the signal to open from the van.
T5 locking issues often come from corrosion of the control unit or wiring under the seat, id hazard a guess that as its happened since you’ve messed with it its the lock itself. My first port of call would be checking everything is reassembled correctly, my bet would be if you’ve taken the door to bits you’ve bolted the contacts back on slightly incorrectly and they’re not lining up properly, this would be the simplest fix. Loosen them off slightly, close the door so they kind of self centre and see if that sorts it.
Check all the wiring and control box under the drivers seat for corrosion first, if all ok then multimeter on the door contacts you can get wiring diagrams online easily to check you’re getting the signal to the van side of the switch, then if you have that then its new lock module, £90 or so.