A differential mechanism includes a case, a gear rotatable about an axis, a lock ring held against rotation relative to the case, a lever contacting the lock ring, and an electromagnetic coil that is displaced axially when energized, pivoting the lever, engaging the lock ring with the side gear, and preventing the gear from rotating relative to the case.