Suggestions to the ones who are going to retire from their current jobs in next two years:
You should start working on concurrent lines/pursuits, especially as the retirement plans, so that you have a smooth phase of that.
You can chose a second/new job, a relaxed one, weekly twice or once, as a consultant or part-time teacher, your decades of work experience would be tremendously useful to them.
If you like, and if your health is good, you may get engaged in some social work.
You can be an advisor online in the area of your specialization.
You can guide formally/informally students who are pursuing their masters' or doctoral studies.
You can gather your notes from your work done in your company, and compile in the form of technical books and publish.
Take a burning issue of some social relevance and prepare some talks and deliver them at some forums, but you have to do with caution, since some listeners might be too opinionated.
Or learn some singing, sugam sangit.
And if you don't like to or cannot do anything, just relax and spend quality times with your family members.
*****