I suspect it could be a door striker or trunk lock switch. A closed contact would cause the central locking system to act as if the effected door was open and not allow the doors to lock except from that location.
Does the central locking system activate with the trunk lock?
Does the interior light flicker if the dome light switch is in the center position when driving on a rough road?