Windows 10 is scheduled to reach end of support on October 14, 2025. However, you can enroll your PC in Windows 10 Extended Security Updates and continue receiving security updates for one year. There are a number of articles about the process, with a simplified version at Major Geeks:
The above-mentioned toggle is included in the August security update, KB5063709.