You don't have to just go in guns blazing in Starfield, as Bethesda has added a bunch of Stealth mechanics to the game, just like their previous titles. Your character can choose to approach a ton of different situations without anyone else even noticing them, slipping in to get what they want, and slipping back out to continue on doing whatever it is they have to do next.
Starfield: How To Use Stealth
Stealth is a useful but somewhat hidden mechanic in Starfield. This guide covers everything you need to know about how to Stealth in the game.