Security Engineering is in its third edition, by Professor Ross Anderson at the University of Cambridge. it is the Must Read book for all security engineers that are tasked with designing and analyzing hardware networks and software.
Read Chapter 11 in the Second Edition about Medeco and other high security locks.