4 wheel drive
as you shift into 4-wheel drive, there is an electric acuator that engages the front axle to run in 4-wheel drive mode (to lock it in). when in 2-wheel drive, the front axle should not be turning, (also front drive shaft should not be rotating ) thus - automatic locking hubs.