# strazactl users lock

Lock a user: a revocation that an identity manager cannot lift by enabling the user; the status stays as it is


```
strazactl users lock <username> [flags]
```

## Options

```
      --origin string   admin (default) or external (SOAR/SIEM automation)
      --reason string   why (required)
```

## Options inherited from parent commands

```
      --server string   strazad base URL (overrides $STRAZA_SERVER)
```

## See also

* [strazactl users](https://docs.straza.ai/reference/cli/strazactl/strazactl_users/index.md): Manage users



