With a full-time differential, you will engage and disengage the locking diff by using your 4x4's shifter.  With limited slip diffs, it can be done automatically or manually depending on the type of brake that the vehicle has.