Every action will have a consequence in Baldur's Gate 3, and you won't be able to get away with just anything in the game. The game has a living and breathing world, full of characters who will see and react to the various things you do, including murder. Should you get a little too eager for bloodshed and start going on several killing sprees, eventually your reputation will precede you.
Baldur's Gate 3: Enemy of Justice Debuff Explained
If you've gotten the Enemy of Justice debuff in Baldur's Gate and don't know what it does, this guide can help explain.