The company that owns Yale locks will buy August Home, a DIY smart home security company, the businesses announced Thursday. August Home has expanded its line of smart locks over the last few years.