Hello
If you just need to use the computer to stay connected with friends via emails and some other basic tasks, your Windows 10 can continue to work. Just because Windows 10 is no longer supported, it doesn't mean Windows 10 will stop working altogether.
You can also follow the instruction here to see if your device can qualify for the extended support provided for Windows 10 devices. https://www.microsoft.com/en-us/windows/extended-security-updates?r=1