One Australian state has made a major move to ensure safety at places of worship, after a spate of attacks shocked the nation.