Is there a specific prayer (Duas and Supplications) that can keep a person safe in school, work, and in general?

Question

Narrated from Abu Hurayrah (Radhiyallahu Anhu) that the Prophet Muhammad (Sallallahu Alayhi Wasallam) was on a journey and got up or ended his journey in the last part of the night, he would say: Sami’a saami’un bi hamdi Lillaah wa husni balaa’ihi alayna. Rabbana saahibna wa afdil alayna ‘aa’idhan Billaahi min al-naar. (Muslim) (May a witness bear witness to our praise of Allah for His favours and bounties upon us. Our Lord, protect us, show favour upon us and deliver us from every evil. I seek refuge in Allah from the Fire.)