The invention relates to an intelligent lock, which includes a lock cylinder and a handle, and also includes a locking mechanism and a heating mechanism. The locking mechanism includes a gear and two locking components. The locking component includes a rack, a transmission block, a positioning block, a clamping unit and a lifting unit, the clamping unit includes a fixed plate, a first motor, a driving wheel, a driving rod, a slider, a chute, a support block and two driven units, and the lifting unit includes a second motor, a screw rod, a moving block and The guide unit, the smart lock, plays a locking effect on the upper and lower sides of the door frame through the locking mechanism, which can increase the difficulty for thieves to crack the anti-theft door, thereby improving the security of the smart lock. Heating, thereby improving the accuracy of fingerprint identification, making the identification accuracy of the smart lock higher.