I am adding another answer, which is inspired by lulu's answer. Excerpting from lulu's answer:
We need to make $6$ up moves and $5$ right moves. The only constraint on the order is that we can't make three consecutive moves of the same type. So, arrange the $6$ up moves in a line and consider the seven gaps between them. The $5$ right moves must go in those gaps, no more than two of them can go in a single gap.
Note:
You also have an added constraint. Ignoring the $~2~$ outer gaps, focus only on the $~5~$ inner gaps. You can not have two consecutive inner gaps, each of size $~0.~$ This is because you (also) can not have $~3~$ consecutive up moves.
Setting $~n = 5, k = 6,~$ the desired enumeration is the number of solutions to
$x_1 + x_2 + \cdots + x_{k+1} = n.$
$x_1, ~x_2, ~\cdots, ~x_{k+1} \in \{0,1,2\}.$
For $~i \in \{2, ~\cdots, ~k-1\},~$ you can not have
$x_i = 0 = x_{i+1}.$
The purpose of this answer is to extend lulu's analysis to provide a general closed form formula, in terms of $~n~$ and $~k,~$ for the desired enumeration.
If you ignore the third bullet point above, then you could simply follow the model in this answer.
Because of the third bullet point, a special strategy will be needed.
Assume that of the $~k - 1~$ inner variables, that are represented by $~x_2, ~x_3, ~\cdots, x_k,~$ that exactly $~r~$ of them are forced to equal $~0,~$ and that the other $~(k - 1 - r)~$ of these variables are forced to each be $~\geq 1.$
Then, the lower bound on $~r~$ is $~\max( ~0, ~k - 1 - n ~),~$ and the upper bound on $~r~$ is $~\displaystyle \left\lfloor \frac{(k-1) + 1}{2}\right\rfloor = \left\lfloor\frac{k}{2}\right\rfloor.$ The upper bound reflects that you must avoid having two consecutive inner variables that are both equal to $~0.$
Let $~r~$ be any element in the appropriate range, and let $~f(n,k,r)~$ denote the number of permitted ways of having exactly $~r~$ of the $~(k-1)~$ inner variables equal to $~0.~$
Then, let $~g(n,k,r)~$ denote the enumeration of the number of solutions to
$x_1 + x_2 + \cdots + x_{k+1} = n.$
$x_1, ~x_{k+1} \in \{0,1,2\}.$
$x_2, ~\cdots, ~x_{r+1} = 0.$
$x_{r+2}, ~\cdots, ~x_k \in \{1,2\}.$
Then, the overall computation will be:
$$\sum_{r ~\text{in range}} [ ~f(n,k,r) \times g(n,k,r) ~].$$
When the lower bound for $~r~$ is $~0,~$ then for $~r \in \{0,1\},~$ you have that $~f(n,k,r) = \displaystyle \binom{k-1}{r}.~$
In the remainder of this section, it is assumed that $~r~$ is in range, and that $~r \geq 2.$
To visualize the computation of $~f(n,k,r),~$ temporarily assume that $~n~$ is large enough, and that $~k = 8, ~r = 3,~$ and consider the following tableau:
x2 x3=0 x4 x5=0 x6 x7=0 x8
In the above tableau, since $~k = 8,~$ the inner variables are represented by $~x_2, ~x_3, ~\cdots, ~x_8.~$ So, you have a tableau with $~7~$ positions. The $~3~$ variables set to $~0~$ create $~4~$ islands. Reading the size of these islands from left to right, you can let $~y_1, ~y_2, y_3, ~y_4~$ denote the size of these islands.
In the above tableau, since you are starting with $~7~$ positions, and since you have $~3~$ of these positions taken by the zero-variables of $~x_3, x_5, x_7,~$ you have that $~y_1 + y_2 + y_3 + y_4 = 7 - 3 = 4.$
Further, the placement of the $~3~$ zero variables will be satisfactory if and only if the variables $~y_2, y_3~$ are both greater than $~0.~$
Therefore, for $~r~$ in range, with $~r \geq 2, ~~f(n,k,r)~$ equals the enumeration of the number of solutions to
$y_1 + \cdots + y_{r+1} = k - 1 - r.$
$y_1, ~y_{r+1} \in \Bbb{Z_{\geq 0}}.$
$y_2, ~\cdots, ~y_r \in \Bbb{Z_{\geq 1}}.$
By basic Stars and Bars theory, for $~r~$ in range and $~r \geq 2:$
$$f(n,k,r) = \binom{[k - 1 - r] - [r - 1] + r}{r} = \binom{k-r}{r}.$$
In the present problem, with $~n = 5, ~k = 6,~$ you have that $~r \in \{0,1,2,3\}.~$ Then, $~f(5,6,0) = 1, ~f(5,6,1) = 5,~$ and for $~r \geq 2,~$ $~f(5,6,r) = \displaystyle \binom{6-r}{r}.$
Assuming that $~r~$ is in range, to compute $~g(n,k,r)~$ the original problem of
$x_1 + x_2 + \cdots + x_{k+1} = n.$
$x_1, ~x_{k+1} \in \{0,1,2\}.$
$x_2, ~\cdots, ~x_{r+1} = 0.$
$x_{r+2}, ~\cdots, ~x_k \in \{1,2\}.$
should be adjusted by eliminating the variables forced to equal $~0,~$ and re-indexing the remaining variables. With this adjustment, the enumeration problem becomes
$x_1 + x_2 + \cdots + x_{k+1-r} = n.$
$x_1, ~x_{k+1-r} \in \{0,1,2\}.$
$x_{2}, ~\cdots, ~x_{k-r} \in \{1,2\}.$
The lower bounds of the variables are changed to $~0~$ by further changing the enumeration to
$x_1 + x_2 + \cdots + x_{k+1-r} = n - (k-r-1) = (n + 1 + r - k).$
$x_1, ~x_{k+1-r} \in \{0,1,2\}.$
$x_{2}, ~\cdots, ~x_{k-r} \in \{0,1\}.$
Then, to compute $~g(n,k,r)~$ you can use the methods given in this answer.
In the present problem, with $~n = 5, ~k = 6,~$ you have that $~g(5,6,r)~$ equals the number of solutions to:
$x_1 + x_2 + \cdots + x_{7-r} = r.$
$x_1, ~x_{7-r} \in \{0,1,2\}.$
$x_{2}, ~\cdots, ~x_{6-r} \in \{0,1\}.$
So, $~g(5,6,0) = 1, ~g(5,6,1) = 6, ~g(5,6,2) = 12, ~g(5,6,3) = 10.$
Therefore, the final enumeration is
$$\sum_{r=0}^3 f(5,6,r) \times g(5,6,r)$$
$$= [ ~1 \times 1 ~] + [ ~5 \times 6 ~] + [ ~6 \times 12 ~] + [ ~1 \times ~10] = 113.$$