How to start Windows 10 or 11 in Safe Mode to fix computer issues, and then exit later

Your Windows computer isn't working right and you need to narrow down the problem. Here's how to boot up in Safe Mode and do just that.