# Account Lock

## Requirements

Linux Control Center = 2.10.X or higher

## Overview

The purpose of the Linux Control Center (LCC) Account Lock action is to set local accounts to "Lock", enabling account control in a simple and fast way.

## Objective

The purpose of this document is to demonstrate the step-by-step process for executing the LCC Account Lock action.

## Block Host Account

1. Click on **Hosts** in the LCC left side menu

   ![](/files/jdZKGkyP3J03ki551buJ)
2. Select 1 or more hosts by checking the box next to the Hostname field and click on the **Actions** button of the page type, or click on the Actions button in the desired host line. 1. After clicking on Actions, click on the **Account Lock** option

   ![](/files/mX4V0Kbw7ccbz79Djzlz)
3. Search for the account name in the **Insert Accounts** field to make selection easier.

   ![](/files/czG9s4QpBZUfESxtakks)
4. Click on **Yes** to confirm the account change on the selected Host.

   ![](/files/nHECYpwX5g2PALpeOSEx)
5. Open the host where you sent the action and click on **Actions History**

   ![](/files/dkR0zOYFhGsfqauFXCM2)
6. Wait for the *Account Lock* and *Photography* actions to have the status **Processed**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.linuxcontrolcenter.com.br/en/host-actions/account-lock.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
