Hi there,
A Target Release Version policy available in Windows 10 version 1803 and higher allows you to specify which feature update version of Windows 10 you would like your computer to move to and/or stay on until the version reaches the end of service or you reconfigure this policy.
Microsoft is ending support for Windows 10 on October 14th, 2025. It will mark just over 10 years since the operating system was first introduced, so you can use the Win 10 up to it . For PC which does not support Win 11, Microsoft will release updates for win 10 like 21H1 & 21H2 so on.
Hope this answers all your queries, if not please do repost back.
If an Answer is helpful, please click "Accept Answer" and upvote it : )