You can use windows 10 on your laptop and computer for a long time yet.

Following Microsoft’s announcement of Windows 11, several publications predicted that millions of PCs would become obsolete. As long as you install Windows 10 on your current PC hardware within the next four years, you should be able to stay up to date with your hardware. I’ll explain why.
Windows 10 support will end on October 14, 2025, according to Microsoft. Windows 10 will no longer receive security updates from Microsoft after that date, and it will be considered “end-of-life” (commercially dead).
Additionally, Windows 11 will only run on CPUs from late 2017 or sooner. As a result, several writers have claimed that Microsoft will needlessly orphan perfectly good computer hardware, potentially causing unnecessary e-waste.
When Microsoft stops supporting Windows 10 in 2025, a PC from late 2017 or older (about four years old) will be at least eight years old. Therefore, you have plenty of time to use your current PC with Windows 10 before upgrading.