Door lock for home that is controlled via app on smartphone