Support for Windows 10 will end on October 14, 2025. After that, it will continue to work, but will not receive any updates from Microsoft. Over time, support for devices and applications running on Windows 10 will also erode just as has happened for Windows 7, Windows XP, and other old Windows versions.
Beginning very soon, any new PCs will come with Windows 11. Even if you are able to upgrade your current computer to Windows 11, it is wise not do that immediately, giving time for Windows 11 to “mature”. Furthermore, never upgrade without making sure all your backups are current and confirming with the vendor that your critical applications and devices will run on Windows 11.
If you wish to learn more about Windows 11, I refer you to: https://www.microsoft.com/en-us/windows/