The calculated distance (air line) between Gonzales and Lockhart is approximately 30 miles respectively 48 kilometers.
By car or train, the actual journey to Lockhart is certainly longer, as only the direct route (as the crow flies) between Gonzales and Lockhart has been calculated here.