Let's first decide how many people stand in each queue. For that purpose, have $k$ identical chairs that we will first put into the queues. The number of ways to arrange those chairs is the same as the way to break $k$ into a sum of $n$ non-negative numbers, which is ${n+k-1\choose k}=\frac{n(n+1)(n+2)\cdots(n+k-1)}{k!}$ (for reference, see e.g. the Wikipedia Stars and Bars article).
Now we've set up the chairs: for each setup we have $k!$ ways (all permutations) to put the people on them, so the total number is:
$$\frac{n(n+1)(n+2)\cdots(n+k-1)}{k!}\cdot k!=n(n+1)(n+2)\cdots(n+k-1)$$