# Lock Pipeline

If you lock a pipeline it will prevent any modifications to the pipeline from the UI. You can still modify the pipeline using the API. Follow the steps below to lock a pipeline.

1. Click on the application from the [**application dashboard**](https://docs.opsmx.com/user-guide/dashboard/application-dashboard)**.** The **Pipelines** page with the details of all the pipelines for the selected application is displayed.&#x20;
2. Select the **Pipeline** to be disabled and click **Configure.**&#x20;

   <figure><img src="/files/x2ArBlfB1lTYCupbhb50" alt=""><figcaption></figcaption></figure>
3. Select **Lock** option from the **Pipeline Actions** drop-down as shown below.

<figure><img src="/files/uTCRx1FKV4eOdU69APt4" alt=""><figcaption></figcaption></figure>

3\.  A confirmation screen as shown appears to confirm your pipeline lock request. Make sure that you have selected the correct pipeline name and update the description of why this pipeline is locked and click **Lock pipeline**.&#x20;

{% hint style="info" %}
**Note: After clicking Lock Pipeline, this pipeline will be locked and cannot be modified.**&#x20;
{% endhint %}

<figure><img src="/files/mffn7cBgvDwsO7e4cOJu" alt=""><figcaption></figcaption></figure>

4\.  Now the selected pipeline is locked and a message **This pipeline is locked and does not allow modification** appears as shown in the image below.

<figure><img src="/files/AO9teSldnHk28vYPbEAj" alt=""><figcaption></figcaption></figure>

5\. To unlock the locked pipelines, **Unlock** option appears in the **Pipeline Actions** drop-down as shown in the image below.

<figure><img src="/files/6cJ7uzI4m5JKEep8IkCq" alt=""><figcaption></figcaption></figure>


---

# 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.opsmx.com/isd-spinnaker/opsmx-intelligent-software-delivery-isd-platform-spinnaker/user-guide/manage-pipelines/lock-pipeline.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.
