I've never tried it as I use Snagit from techsmith.press Windows key + G. From there, you can start a screen recording by clicking on the "Record" button or by pressing Windows key + Alt + R.
You can also adjust the settings for your recording, such as recording quality and audio sources, by clicking on the "Settings" icon next to the "Record" button.
Once you're finished recording, you can find the video file in the Videos folder on your computer.
Other people might have free recorders that are better than Windows built-in one.