And set UnlockRequired accordingly. Large cleanups and rework by dcbw.
Clients can check the property to determine lock/unlock status and thus unlock the modem before trying to connect if required. Bits of the patch by dcbw (see the bug).