The mechanics of an ancient egpyptan lock