If $p^2-1$ is not divisible by $q$, i.e., $p^2\not \equiv 1 \pmod{q}$, but $1+kq$ divides $p^2$, where $p,q $ are distinct primes, we can conclude that $1+kq=1$ is the only value that expression $1+kq$ can take (i.e., $k=0$ situation).
Similarly, if $p^3-1$ is not divisible by $q$ but $1+kq$ divides $p^3$, where $p$, $q$ are distinct primes, then also can we conclude that the only value $1+kq$ can take is $1$?
NO:
If $p=5, q=3, k=8$, then $3$ does not divide $p^3-1=124$, but $1+kq=25$ that divides $125$.