I find all of it correct except the beginning. If you specify the actual time period for which you did something, don't use "used to".
I played chess from 2010 to 2013 but then I stopped playing.
If you don't specify the years, "used to" is OK.
I used to play chess but I stopped a few years ago.
Student or Learner