Defender will continue to provide security even for unsupported Windows 10 PCs. But Microsoft still wants you to move to Windows 11.
Microsoft no longer officially supports Windows 10, but you still have an option to get one year of free security updates.