Windows 10 has reached end of life, but you can continue using it by enrolling your PC into the ESU program for free.
Defender will continue to provide security even for unsupported Windows 10 PCs. But Microsoft still wants you to move to Windows 11.
You can update Windows through the Settings app on your computer, although your PC probably downloads updates automatically.