It's pretty much the same process as attacking a ground target, except that, as you noticed, getting a lock with the Shkval is quite a bit more difficult. As far as I know there's no trick to it, however; just adjust the gate size properly and keep hitting the lock button. It's not supposed to be easy, the aircraft was not built for air to air!