The principle of security door should be the same as that of supermarket, and it is magnetic. In other words, the magnetic stripe on it is not demagnetized before payment, so it will ring.
Generally, things bought in legal and regular stores can still be trusted. If the landlord really doesn't believe it, you can take it to the relevant institutions for inspection.