Double-chamber lock