The lock command locks an address pool.
The undo lock command restores the default configuration.
By default, no Server IP address pool is locked.
Usage Scenario
If you want to delete an address pool that is currently in use, run the lock command to prevent new users from using IP addresses in this address pool. The address pool can be deleted after all users using this address pool go offline.
Precautions
After the lock command is executed to lock an address pool, no IP address in the address pool can be assigned to DHCP clients. An address pool that is being created cannot be locked.