The garden centre worker fell from the car outside the garden centre.
Lockwood pleaded guilty to a charge of dangerous driving.
A charge of theft was dropped after medical evidence was served on the Crown.
Judge Euan Ambrose imposed an eight month jail term, suspended for two years, and told Lockwood to do 300 hours of unpaid work and observe a night time curfew for six months.
Lockwood was also banned from driving for two years and until he has passed an extended test and was told to pay £1,500 compensation to Mr Wright.