Carry Forward of deductions for depreciation and expenses.

Can "unused" deductions for cost of repairs and depreciation for the year they occurred be carried forward to subsequent years, and is there a limit for how many years it can be carried forward? Also, if the rental property - or in my case just a room in my house that I rented out - goes out of service for a couple yeas, and then reenters service - lets say in 2023 - when I do my 2023 taxes can I carry forward "un-used" deductions for depreciation and repairs/expenses from 2019 and 2020 and apply/claim them in 2023 so long as they were reported when doing taxes in 2019 or 2020, or they were reported by amending taxes for the years 2019 and 2020?