Transfer machine for lock cylinder