This article explains the different ways you can record the contents of your computer screen in Windows 11. There are only two methods built-in (Snipping and Xbox Game Bar); the other methods require you to download a specific program.
How to Record Your Screen in Windows 11 with Screen Recorder
The Snipping Tool is a popular screenshot maker built into Windows 11, but it can also record the screen.
Search for Snipping Tool and open it from the Start menu.
Select Record (the camera button).