Smart lock has a security vulnerability that leaves homes open for attacks