Doing for a reason with

Grammar: Purpose » 〜ように

ように after a dictionary or ない verb form marks the purpose of an action. It often translates as “so that”.

Examples

Going to school together so as to not get lost with 〜ように

Learn the meaning and usage of the grammar 〜ように in Japanese, with examples from manga.
ご注文はうさぎですか? » Volume 1 » Page 32

After Cocoa gets lost looking for her new school, she meets Chiya, who will be going to the same school as her.

千夜(ちや):
「ココアちゃんが(まよ)わないように(いま)から学校(がっこう)まで()きましょう」
“Let's go from here to the school now so you won't get lost.”
ココア:
「め 女神様(めがみさま)!」
“A-a goddess!”

Training so as to be able to swim with 〜ように

Learn the meaning and usage of the grammar 〜ように in Japanese, with examples from manga.
ご注文はうさぎですか? » Volume 1 » Page 105

Cocoa and her friends visit an indoor hot spring. Rize admits she doesn’t know how to swim.

ココア:
「ではこれからリゼちゃんが(およ)げるように特訓(とっくん)(はじ)めます」
“Now then, we're going to start special training so that Rize-chan can swim.”
シャロ:
「あ ()って」
“Ah, wait.”

Working hard so as to satisfy customers with 〜ように

Learn the meaning and usage of the grammar 〜ように in Japanese, with examples from manga.
ご注文はうさぎですか? » Volume 1 » Page 50

After visiting Chiya’s family’s café, Cocoa’s sense of work is reinvigorated.

ココア:
(わたし)たちもお(きゃく)さんに満足(まんぞく)してもらえるように頑張(がんば)らなきゃね」
“We've got to work hard too so that customers will be satisfied.”
リゼ:
「だなー」
“Yeah.”