The Spruce Forge "manual of Locksmithing"A Blacksmith guide to simple lock mechanisms by bill Morrison and Dennis Frechette
ISBN 0-615-11822-4
shows tools needed shows how to make Pipe locks,Spring lock, Trunk lock, Cupboard lock, Door lock, Gate lock.
I got my copy from Nation Builder Books ,PO BOX 253 Leesburg, VA 20178 ,800 480-5808; www.NBBooks.com
I believe you could adapt the information in the book to make what you want.