There is a “criminal profile” level that has effects on how your character and people react and what your character does. This has a threshold: if it goes too high, you irrecoverably locked to a harder level and cannot go back to lower levels anymore and it also gives you a bad ending.
https://www.youtube.com/watch?v=dgWYPJcwXQs
This is the first and so far only GTA game where such a system is implemented.