Latch bolt by lever either side unless outside lever is locked by thumb turn.
Thumb turn locks or unlocks outside lever.
Key locks or unlocks outside lever.
Key retracts latch as an independent function of the thumb turn to allow retraction if thumb turn is forcibly held in locked position.
Auxiliary latch deadlocks latch bolt.
Outside lever unlocks when inside lever is turned or door closes.