I know that you can change the online status in general, but I would like to know how I can only hide this from certain people.
You can only block it or set your general online status to offline, but unfortunately the online status can't be hidden from individual people.