No, you don't claim a credit in tax year 2021 since the installation of the window's did not happen until 2022.
Per IRS, page 2, Qualified energy efficiency improvements: Qualified energy efficiency improvements are the following building envelope components installed on or in your main home that you owned during 2021 located in the United States: Exterior windows and skylights.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"