> For the complete documentation index, see [llms.txt](https://help.santesuite.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-35-1.md).

# TEST: SECURITY-UM-35

## References

* [User Management](broken://pages/-LyJM_KRwADCTfXEdvxM)
* [TEST: SECURITY-UM-01](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-01.md)&#x20;

## Discussion

Users can be updated with a Status of Locked (for a maximum amount of time).

## Pre-Conditions / Setup

1. User must be logged into an account with policies granted for creating/deleting users.
2. Follow the instructions from [TEST: SECURITY-UM-01](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-01.md) to create a user to be locked.
3. Navigate to **Administration Panel / Security / Users / Index**.

## Actions/Steps

1\.  Click the **Lock** button corresponding to a user with a Status of Active to be locked (e.g. "ClinicalStaffUser123").

![](/files/-Me3MAPRd4RXpLNjally)

2\. Click the **OK** button on the confirmation modal that appears in the browser.

![](/files/-Me3MHlUqSYhG2oan31i)

## Expected Behaviour

* Status of the user that was unlocked changes to **Locked.**
* **Lock** button changes to an **Unlock** button.

![](/files/-Me3Mf85-bHgspvRnd6I)
