Fireproof and anti-theft lock