Simple differential mechanism with the possibility of blocking it.

Blue motor: drive;
Red motor: differential switch on / off;
The white sprocket disengages the red motor when the differential is already on or off.
LXF file
Lego Digital Designer project
 

Download:
Differential with blockade