No, the IP PIN has no affect on your tax refund or the taxes owed. But if you were issued a 6 digit Identity Protection PIN by the IRS for tax year 2024 it must be entered on your tax return.
To enter, edit or delete a 6 digit IP PIN
Click on Federal Taxes (Personal using Home and Business) Click on Other Tax Situations Scroll down to Other Return Info On Identity Protection PIN, click the start button