The invention provides a locking differential and an automobile. The locking differential comprises a differential left shell, a differential right shell and a differential lock and is provided with a left half shaft and a right half shaft connected with the automobile, both the left half shaft and the right half shaft are connected with half shaft gears, a pin is arranged in the differential, a bevel planet gear is fixed by the pin, the differential lock comprises an inner canine tooth ring, an outer canine tooth ring and a hydraulic actuator, the inner canine tooth ring is connected with the left half shaft, a canine tooth groove is formed in the inner canine tooth ring, the outer canine tooth ring sleeves the inner canine tooth ring and axially slides on the inner canine tooth ring, canine teeth are arranged on the outer canine tooth ring, the outer canine tooth ring is circumferentially connected with the differential left shell, a first spring ring is arranged between the outer canine tooth ring and the inner canine tooth ring, the hydraulic actuator is fixed on the inner canine tooth ring, and an oil cavity is formed in the hydraulic actuator and communicated with an oil supply device. When the automobile slides or falls into a mud pit, the hydraulic actuator pushes the outer canine tooth ring to axially move, so that the first spring ring is compressed, the canine teeth are meshed with the canine tooth groove, power is directly transmitted to the left half shaft through the inner canine tooth ring, the differential loses a differential function, output torque is improved, sliding is prevented, and normal running of the automobile is ensured.