Hydrostatic with automatic differential lock