An exactly solvable quantum-lattice model with a tunable degree of nonlocality