Lock a period
Close and lock a period: the four close checks (every posted entry balances; the 55x bank shelf equals the latest verified statement up to the period's end; no live unposted proposal; no live review case for the period), their record, the status change, its history row and the balance SNAPSHOT, in ONE transaction. Any red check refuses the lock with 409 `close_checks_red` naming each one in `checks` — and nothing is written; a signed `lockPeriodWithOverride` may argue them. The snapshot is written inside the lock because a locked period takes no new entries, so staleness is impossible by construction. A period that cannot make this move answers 409 `invalid_transition`; no step-up is required, because §0's signed-act list is closed and does not name a green lock.