---
title: "Lock access to a document"
method: PUT
path: "/{judgmentUri}/lock"
tags: ["Writing"]
---

# Lock access to a document

`PUT /{judgmentUri}/lock`

Locks edit access for a document for the current client. Returns the latest version of the locked document, alohg with the new lock state.

## Path parameters

- `judgmentUri` string, required

## Response `201`

A single judgment document, in Akoma Ntoso XML

## Other responses

- `403` — The document was already locked by another client

---

[API](https://skmtc.net/the-national-archives/apis/case-law-privileged-api.md) · [All operations](https://skmtc.net/the-national-archives/apis/case-law-privileged-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/the-national-archives/case-law-privileged-api/versions/78e91c464b05/schema)
