When using target lock with more than 1 enemy (target) around you the target lock will switch from target to target this can be to any target that isn’t even engaged in the combat. This means that your enemy can end up being missed by you quite frequently in combat
Game mode: Online & Singleplayer
This is quite frustrating and often it is better to not use target lock at all.
Repro steps: Get into a fight with 1 or more enemy and some non hostile NPC’s around and your target lock will constantly switch to something not involved in the fight or a target further away than the one you are fighting.