The technology used by the miscreants who hijack your home page is getting
more sophisticated by the week, so no, there is no simple way of setting a
home page so that no one else can change it. For now your best bet is with
antivirus / antispyware programs, most of which have a setting which
prevents your home page from being changed.