The embodiment of the invention discloses an automatic screw locking machine which is used for avoiding the situation that the screw position is inclined, and locking is failed due to the fact that the screw hole cannot be aligned. The automatic screw locking machine has no requirement for the magnetic force feature of screws, and various types of screws can be locked on a locked object. The automatic screw locking machine comprises an electric screw driver, an elastic clamp head, a clamping pneumatic claw, a locking hole sliding platform, a downwards-pressing air cylinder, and a program controller, wherein the elastic clamp head is arranged on the electric screw driver, the head of the elastic clamp head is provided with a clamping position for being clamped with a screw head of a screw in a matched mode, and the clamping position is used for fixing the screw to the elastic clamp head by clamping the screw head; the clamping pneumatic claw is used for clamping a screw rod of the screw to fix the screw; the locking hole sliding platform is used for conveying a screw hole required to be locked currently in the locked object to the position below the elastic clamp head by moving the locked object; the downwards-pressing air cylinder is used for driving the electric screw driver and the elastic clamp head on the electric screw driver to move downwards; the program controller is used for controlling the electric screw driver, the clamping pneumatic claw, the downwards-pressing air cylinder and the locking hole sliding platform through a preset operation process.