The fantasy of the auto aim lock file is a perfect headshot every time. The reality of the auto aim lock file is a formatted hard drive, a stolen identity, or an account full of expensive skins turned to dust.
Your gaming PC (the client) constantly sends data to the game server: your position, your aim angle (Yaw/Pitch), and your input (mouse movements). The server returns the positions of all other players.
When a player activates a feature controlled by this file, their crosshair will instantly snap to and rigidly follow an enemy’s critical hitbox (usually the head or chest) with inhuman tracking. The file dictates the parameters of this lock: the speed of the snap, the bone it attaches to (head/neck/spine), and the field of view (FOV) in which the lock activates.