See this post for a beginner’s tutorial for OBS Studio or for info on using Sharex (ignore the bit about Powerpoint.
The tutorial is here: