The next move made by the user of this move against the target will not miss, even if the target uses a move with a semi-invulnerable turn like Fly. If the target switches out, the effect of Lock-On wears off.
This does not allow the user to bypass protection moves.
The user takes sure aim at the target. It ensures the next attack does not fail to hit the target.