Advisory locks are application‑defined locks in Postgres (not tied to specific rows). They’re useful for coordinating work like distributed jobs or ensuring a single instance performs a task. They’re voluntary—apps must cooperate to respect them.