Show that $ \mathbb{Q}_3(i)$ is an unramified extension

You are searching too far. Consider the extension of residual fields, which is $\mathbf F_3(i)/\mathbf F_3$. As $i^2=-1$, the multiplicative order of $i$ is $4$, so $i\notin \mathbf F^*_3$ and $f=[\mathbf F_3(i):\mathbf F_3]=2$.


The last equality in (1) deserves more justification, but I do think it's true, because $a$ and $bi$ are linearly independent over $\mathbb{Q}_3$, so there can be no cancellation between $a$ and $bi$ to realize a strict ultrametric inequality (UI).

More explicitly, since $i^2=-1$ has valuation $0$, $i$ must have valuation $0$ too, so $|a+bi| \leq \max \{ |a|, |bi| = |b| \}$ immediately from UI. All I am saying previously is that this inequality is in fact an equality.

If you are already convinced that $\left| a+bi \right| = \max \{ |a|, |b| \}$, then $\mathcal{O}_K = \{ x \in K : |x| \leq 1\}$ by definition (from the theory of complete discrete valuation fields). Since $|a+bi| \leq 1$ iff $\max \{ |a|, |b| \} \leq 1$ iff $|a| \leq 1$ and $|b| \leq 1$, this realizes your description of $\mathcal{O}_K$. (In fact when you write $a,b \in \mathbb{Z}_3$, you already have $|a|,|b| \leq 1$, they are the same thing). Another description of $\mathcal{O}_K$ that might be more hands on is $\mathbb{Z}_3[T]/(T^2+1)$.

Similarly $\mathfrak{m}_K = \{ x \in K : |x| <1\}$, and you can check (similar argument as above) this is exactly what you have written down: it's $3 \mathcal{O}_K$.

Now by definition of unramifiedness, $K/\mathbb{Q}_3$ is unramified iff $f= [ K:\mathbb{Q}_3]=2$ (and iff $e=1$). To see this, observe that $$ \mathcal{O}_K/\mathfrak{m}_K = \mathbb{Z}_3[T]/(3,T^2+1) = \mathbb{F}_3[T]/(T^2+1)$$ which is a degree $2$ extension of $\mathbb{F}_3$ since $T^2+1$ admits no roots in $\mathbb{F}_3$. This proves the unramified claim.

Some additional remarks: it seems you are confused as to why $f=2$ is equivalent to $e=1$: this is simply because for an extension of local fields, $ef$ is the same as the degree of extension. There is a more generalized version of this you can prove for global fields.

Finally (and most importantly), I personally like to think about unramified extensions of complete discrete valuation fields in the following way: finite unramified extensions correspond to finite extensions on residue fields. Since for finite fields, and a fixed $n$, there is a unique extension of degree $n$, this says that for each $K/\mathbb{Q}_p$ finite, there is exactly one $L$ with $L/K$ unramified of degree $n$, and you can describe $L$ in the following explicit way:

I'll use your question as an example. You find extensions of $\mathbb{F}_3$ by adjoining prime-to-$3$-th roots of unity (in this case $i$), and this immediately means all unramified extensions of $\mathbb{Q}_3$ are obtained by adjoining prime-to-$3$-th roots of unity. So in particular $\mathbb{Q}_3(i)$ is unramified over $\mathbb{Q}_3$, and is the unique such of degree $2$. This works when you replace $3$ by your favourite prime $p$.