# Lock and stay safe

> How the app protects you, and the few things only you can do.

Source: https://ctrlaltnotes.com/docs/guide/lock-and-safety · Last updated: 2026-11-29 · License: AGPL-3.0

## Locking

Press **Lock** (the button at the bottom of the left column, or `Ctrl`/`Cmd` + `L`). The screen is cleared, and the notes are wiped from the window. Nothing readable stays on screen.

The app locks by itself when:

* nothing has happened for the time you chose in **Settings → Auto-lock after** (5 minutes unless you change it; you can pick 1 to 120 minutes, or **Never**),
* you close the window,
* you quit.

Background syncing does **not** keep it awake. A forgotten, open app still locks.

## Open a different vault folder

On the unlock screen of the desktop apps there is a quiet link under the password field: **Open a different vault folder…**. Use it when you want to work in another vault, for example a separate vault for work.

* Choose a folder that **already holds a CtrlAltNotes vault** to unlock it, or an **empty folder** to create a new vault there.
* Folders that contain other files are refused, so a vault is never mixed into Documents or your home folder by mistake.
* Each vault keeps **its own** sync location and settings. The theme is shared.
* The app remembers the folder for the next start. The screen shows **Vault:** followed by the folder name, and **Use the default vault** takes you back.
* Switching folders does not reset the wait after wrong passwords.
* Do not choose your cloud sync folder here. That folder is a sync copy, not a working vault; the app refuses the sync folder of the current vault.

The web version always uses the folder given with `--vault`.

## What the app does for you

* **Locks every note** with strong, modern encryption before it is saved anywhere.
* **Slows down guessers**: three wrong tries and it makes you wait, longer each time.
* **Never sends your notes** to us. There is no account and no server of ours.
* **Refuses weak passwords** when you create or change one.
* **Renders notes safely**, so a malicious note cannot run code.

## What only you can do

!!! danger "Please do these"
    1. **Keep your recovery key safe.** It is your only spare key.
    2. **Use a long, unique password.** Four or five random words are enough.
    3. **Keep your computer safe.** If someone controls your unlocked computer (a virus, a person looking over your shoulder), no app can protect you.
    4. **Delete exported files** when you do not need them. Exports are not locked.

## What the cloud can still see

The cloud only sees encrypted files. It can see **how many** there are, **roughly how big**, and **when** they changed. It cannot see titles, words or folder names.

Want all the details? See the [Security model](../technical/13-security-model.md).
