I believe it was Linus Yale Jr (son of the Yale lock company founder) who designed the first combination lock for banks in 1862. He had already designed the first pin tumbler lock in 1861.
it wasnt the modern pin tumbler lock it was a sort of half thing because the keys were the bottom pins and the tops were stand alone....acient egyptians didnt invent the lock they just came up with the concept =)