A very important concept:
The flash lights the scene in an extremely short fraction of a second.
Shutter speed does NOT change how brightly the subject is lit.
It ONLY changes the background light.
1/200s → correct background
1/50s → brighter background
1/4000s → darker background
The subject stays the same because the flash lights it.
This gives you total control over the ambience.