For the first part, yes, we can identify $\mathrm{Aut}(H)\times\mathrm{Aut}(K)$ with a subgroup of $\mathrm{Aut}(H\times K)$.
This is because any $f\in\mathrm{Aut}(H)$, $g\in\mathrm{Aut}(K)$ induce automorphisms $f',g'\in\mathrm{Aut}(H\times K)$ by $f'(h,k)=(f(h),k)$ and $g'(h,k)=(h,g(k))$. Clearly $f'$ and $g'$ always commute, so $\mathrm{Aut}(H)\times\mathrm{Aut}(K)\subseteq\mathrm{Aut}(H\times K)$ via $(f,g)\mapsto f'g'$.
For the second part, the opposite inclusion, consider $\rho\in\mathrm{Aut}(H\times K)$. For $h\in H$, $\rho(h)$ must have the same order as $H$. Since $H$ and $K$ have coprime order, the only elements with the same order as $h$ must be in $H$, so $\rho(H)=H$. In particular $\rho$ restricts to an automorphism $f\in\mathrm{Aut}(H)$. Similarly, $\rho$ restricts to some $g\in\mathrm{Aut}(K)$. Noticing then that $\rho=f'g'$, we obtain $\rho\in\mathrm{Aut}(H)\times\mathrm{Aut}(K)$.