Make most of lock_machines() PEP-8 clean.

Also, use some better variable names.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Remove the "save a few machines" logic

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>