For reference purposes, from this paper of Maier ( see also this paper by Ford et al.) we have that for every $d> 0$ and $k> 0$ there exist consecutive primes $p_{n}$, $p_{n+1}$, $\ldots$, $p_{n+k}$ with $p_{n+s}- p_{n+s-1} \ge d$ for all $1\le s \le k$. For $k=2$ we conclude that we can have arbitrary large gaps on both sides of a prime number.
$\bf{Added:}$ this appears already on the site
$\bf{Added:}$ We can show using the method of @Ege Erdil that for every $d>0$ there exist consecutive primes $p_{n-1}$, $p_{n}$, $p_{n}$, with $p_{n}-p_{n-1}$, $p_{n+1}-p_{n}\ge d$. For $d=3$, and $p = p_{n}$ we get the answer to the question posted.
First, consider a prime $p_{m}$ with $p_{m+1}- p_{m}\ge d$. That is always possible (there are aribtrary large gaps). Now, consider $N= \operatorname{lcm}(2,3, \ldots, p_{m-1})$. Now, every number $< p_{m+1}$ and $\ne p_m$ has as prime factors among the $2$, $3$, $\ldots$, $p_{m-1}$. We conclude that the system of reduced residues $\mod N$ starts as
$$1, p_{m}, p_{m+1}, \ldots$$
Now, with Dirichlet, find a prime $p_n$ such that
$$p_{n} \equiv p_m \mod N$$ From the above we get
$$p_{n}-p_{n-1},p_{n+1} - p_{n} \ge \min(p_m -1, p_{m+1}-p_m)$$
$\bf{Added:}$ It may look that from the fact that in the sequence of reduced residues for some $N$ there are large consecutive gaps one can show the same for the sequence of primes, but I don't see how to prove it for longer chains. However, from the existence of large chains of gaps in the sequence of primes we can find some sequence of reduced residues with large consecutive gaps, like above. Note that
$\phi(N)/N$ can be arbitrarily small, so there may be large gaps on the average. The problem for reduced residues seems interesting.