Add support for locking and unlocking servers

Partially implements: blueprint lock-unlock-server

Change-Id: I6d261cc7fb314bda60f0732f7a7bb3b23ba7c179
Merge "Add support for locking and unlocking servers"