The Witcher handles this by having gameplay consequences be delayed. If a player wants to rewind, they’ll lose a lot of progress.
Describes a variety of games and their morality systems, e.g. Bioshock, The Witcher, Mass Effect, I have no mouth but I must scream