For home smart door locks, glass is used for fingerprint and touch operation recognition. However, this material causes fingerprints and traces to be left on the door lock after use, which reduces the security of the lock. I added cleaning materials to the sliding cover of the door lock so that the trace information can be automatically cleaned during the use of the door lock, protecting property and privacy.