Help with saving progress

Could someone please explain or link a recent tutorial on how to save progress? I want to make it so that the player’s position and other things stay the same when you close and re-open the game, and all the tutorials I found are over a year old and most likely outdated.

Most tutorials should be fine, there hasn’t been any major changes to the ide or storage since 2018 that would invalidate those.