ようにして

so that

→ よう
phrase Uncommon #18,799
so that Often used to describe doing something in a way that achieves a result or avoids something. In ようにする, it can mean making sure to do something.
JA: 毎日少しずつ練習するようにしています。
EN: I make sure to practice a little every day.

そのようにして彼は事故でけがをせずにすんだ。

That way, he avoided getting injured in the accident.

それも―私にわからないようにして

And make sure I don’t find out about that, either.

— When Marnie Was There (2014)

お腹にぐっと力を入れて、歌うようにしてみましょう。

Engage your core and try singing it out.

そのようにして彼は危険を脱したのです。

That is how he escaped the danger.

この機械にほこりがかからないようにしておかなければなりません。

You need to make sure this machine doesn’t get dusty.

なら彼自身が死か裁判を選べるようにしてみなさい…

Then let him choose between death and a trial...

— 親切なクムジャさん (2005)

寄港中は人目につかないようにしていればいい。

While we're in port, we just need to keep a low profile.

空いた時間を有効に使うようにしてごらん。

Try to make good use of your free time.