A device used for plate surface machining and locking warning comprises a shell (1), a gear driving motor (351), a thread gear sleeve (35), a thread sleeve (2), a hollow shaft motor (29), an inner thread block (24) and an inner screw component (4), wherein the gear driving motor (351) is mounted on the shell (1), the thread gear sleeve (35) can circumferentially rotate via a bearing and is mounted in a cavity (10) of the shell (1) in an axially-fixed manner, the thread sleeve (2) is matched with inner threads of the thread gear sleeve (35), the hollow shaft motor (29) is mounted in an inner cavity (20) of the thread sleeve (2) in an axially-fixed manner, the inner thread block (24) can be circumferentially driven by the hollow shaft motor (29) to rotate and is axially fixed, the inner screw component (4) is in thread fit with the inner thread block (24), and the gear driving motor (351) is engaged with the thread gear sleeve (35) through a gear (352) in power connection with the gear driving motor (351).