The general module controls these things (which is behind the glove box).
The drivers door module, the passengers door module and the general module talk to each other with the P-Bus (which is connected to other circuits too). But the central lock button (between the front 2 seats) goes straight on a dedicated wire to the general module and the rear door locks have also direct, unshared wires to the general module.
That means: if your central lock button doesn't lock at least the rear doors, then the general module doesn't do it's job.
Try to disconnect the battery to see if a simple reset helps. Check the fuses and the ground of the general module.