> For the complete documentation index, see [llms.txt](https://help.lockpro.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.lockpro.io/how-to-set-a-lock-for-a-specific-time-period..md).

# How to set a lock for a specific time period.

Create a lock and schedule it to run for your preferred time period.

When creating or editing a lock, you’ll see options to set a **start and end date** on the right side. If dates are defined, the lock will only be active during that time period.

<figure><img src="https://185022308-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqfzIU1h6B4Xsg5FFsjxj%2Fuploads%2FT8EV2QokCfQTm3Stj6bR%2Fimage.png?alt=media&amp;token=c7bc9ecf-6b00-4d50-a0bf-a4b02cdf4607" alt=""><figcaption></figcaption></figure>
