Query arch in lock_many()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Use arch in lock_machines()

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