The heart of the key is this key.

 

 

 

A door lock is also needed.

 

 

 

When the key is turned counterclockwise (CCW) the lock bolt comes out...

 

 

... and touches this piece of pc-board.

 

 

 

Keying wires go through the pc-board holes.

 

 

 

CCW key fully assembled and ready to key counterclockwise CW.

 

See & hear a video clip: