> 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/device-management-tests/test-security-dm-02.md).

# TEST: SECURITY-DM-02

## References

* [Device Management](broken://pages/-LyJMhbVM6ouxYs1bDRc)

## Discussion

This is a basic test to demonstrate that the UI components appear and operate correctly when locking an existing device.

## **Pre-Conditions / Setup**

1. User must be logged into an account with policies granted for locking devices.
2. Navigate to **Administration Panel / Security / Devices / Devices**.

## Actions/Steps

1- Click the **Lock** button.

![](/files/-MdJCretG208nnQVN9C9)

2- Click  **Ok** to confirm the lock.

![](/files/-MdJF-TM0E9CH9rXCMHg)

## Expected Behaviour

1- - Should display a message asking to confirm the lock.

![](/files/-MdJEcL_dk3fH2sLJ8j4)

2- Should appear the Status of the device changed to locked.

![](/files/-MdJFb3W-XG4LH0a20-F)
