# Account lockout threshold policy management

To prevent brute force attacks, if several sign-in attempts fail (default: 5), the user account is locked for several minutes (default: 2 minutes).

You can control these default values using the GUI or the CLI.

**Related topics**

[Manage the account lockout threshold policy using GUI](/4.0/usage/security/account-lockout-threshold-policy-management/manage-the-account-lockout-threshold-policy-using-gui.md)

v[Manage the account lockout threshold policy using CLI](/4.0/usage/security/account-lockout-threshold-policy-management/manage-the-account-lockout-threshold-policy-using-cli.md)


---

# 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.weka.io/4.0/usage/security/account-lockout-threshold-policy-management.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.
