Baldur's Gate 3 features turned-based combat, and similar to most RPGs set in the same sub-genre, there are multiple commands and tools to approach the combat and prepare yourself for the battle before the engagement occurs.
Baldur's Gate 3: Stealth Mode, Explained
Although turn-based combat is a major part of Baldur's Gate 3, you can always try to use the Stealth Mode to avoid combat.