# TEST: SECURITY-AM-02

## References

* [Application Management](broken://pages/-LyJMkkX_xrto5sCaNnM)

## Discussion

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

## **Pre-Conditions / Setup**

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

## Actions/Steps

1- Click the **Lock** button

![](/files/-MdHo_7dLpLY5-RnEaaD)

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

![](/files/-MdHrR6NhdhiF1-OMvXu)

## Expected Behaviour

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

![](/files/-MdHpWONnSq-aKSHIX2a)

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

![](/files/-MdHsIXy8nw56PZICn_Z)


---

# 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://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/application-management-tests/test-security-am-02.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.
