How did you prepare your federal returns for those tax years? Did you use TurboTax Business, or did you use one of the online versions such as Self-Employed or Premium? Or did you use desktop software?
Did you prepare your 2022 and 2023 federal returns using TurboTax? If so, you can purchase and use the downloaded desktop software to prepare state returns for those years and mail them in. You cannot, however, use TurboTax to prepare "stand alone" state returns for those past years, so you might need to seek local paid tax help instead.
https://ttlc.intuit.com/questions/2559403-how-do-i-finish-a-prior-year-return-that-i-started-in-turb...
**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**