It's not automatically extended. You need to enroll into Extended Security Updates program (ESU). For Home users, it can be free (under specified conditions). For business users, it is $61 for the first year (until october 2026).
Read more here: https://learn.microsoft.com/en-us/windows/whats-new/extended-security-updates