Below is a sketch of the generating-function-based proof of Lucas's theorem - which is mentioned in passing in a number of other posts here. Below we will see that the original problem is just a special linear case.
$\rm\quad\quad\quad\quad\ (1 + X)^{\:a + b P + c P^2} \ \ \ (mod\ P)\quad\quad$ with $\rm\quad\quad 0 \le a,\: b,\: c < P$
$\rm\quad\quad =\ \ \: (1 + X)^a \ (1 + X^P)^b \ (1 + X^{P^2})^c \ \ \ (mod\ P)\quad\quad$
$\rm\quad\quad =\ \ \: (1 + \:\binom{\:a\:}1 \ X\ \ \ \:+ \ \:\binom{\:a\:}2\ X^2\ \ \ +\ \binom{a}3\ X^3 \ \ \ + \:\cdots\: + \ X^{a}\ )$
$\rm\quad\quad\ \ *\ (1 + \binom{b}1 \ X^P \ + \ \binom{b}2\: X^{2P} \ \: +\ \binom{b}3\ X^{3P} \ \:+\: \cdots\: + \ X^{bP}) $
$\rm\quad\quad\ \ * \ (1 +\: \binom{\:c\:}1 \ X^{P^2} + \ \binom{\:c\:}2\ X^{2P^2} +\ \binom{c}3\ X^{3P^2} +\: \cdots\: + \ X^{cP^2}) \quad\ \ (mod\ P)$
$\rm\quad\quad =\ \ \sum\ \binom{a}A \binom{b}B \binom{c}C\ X^{\: A + BP + CP^2}\quad\quad\quad\: (mod\ P)$
Therefore $\rm\quad \ \ \binom{a}A \binom{b}B \binom{c}C = \binom{a + bP + cP^2}{A + BP + CP^2}\ \ \ (mod\ P)$
$\rm\quad\ \Rightarrow\quad\ b\ \ =\ \ \binom{b}1 \quad\ \: =\quad\ \: \binom{a+bp}p\ \ \ $ for $\rm\ \ B = 1,\ A = C = c = 0,\ P = p$
which is the result sought with $\rm\ n = a+bp\ \Rightarrow\ [n/p] = b\:$.
For other proofs see Granville's delightful survey The Arithmetic Properties of Binomial Coefficients