In Subnautica you can play the game normaly and pick up a scanner item where you can scan fragments to unlock other technology or scan your enviroment/fish which gives you lore in your PDA the PDA being basically a lore library.
And in Hollow Knight there are a lot of lore tablets and and NPC's that in the dialogue will tell you something about the world there is also something you can unlock in the early game which is a journal that tells you the lore of the enemys if you beat them enough. The Terrain/Enviroment is also so detailed that it basically tells the story itself