# Lock a Pipeline

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

* Click **Configure** to modify a pipeline as shown below.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FN8pD6UX5hV8v3V7sdkCu%2F74.png?alt=media\&token=fcc37961-2140-4b29-9dd5-2dcbd88c8b14)

* Click the **Pipeline Actions** from drop-down and select **Lock** as shown below.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F70amakTaobaUhd8ahND5%2F75.png?alt=media\&token=72822bd2-761a-4c22-b61d-4debef4ecae6)
