These looks god but, what I want to know, before to looking for more mods, is if this behaviour is normal. I mean, it is normal that your horse start to walk away when you park near to a cave entrance?
All player horses have an AI package that makes them wander a bit when you dismount especially if they feel cramped where you parked, but they will stay somewhere nearby. When you first get a horse, if you ride straight from the stable to a cave and get off, he may start to walk back to the stable because you didn't ride him long enough to set the "last ridden horse" stat so he doesn't know he's supposed to stay with you.
If you console own a horse, meaning you set ownership from the console instead of buying it, one of the horses at every stable is not meant to be a player horse and doesn't have the AI packages to stay put so they will always go home when you get off. Any horse you don't own, like the unicorn or a stolen horse, will go home when you get off.
Those are all vanilla behaviors. If you own a horse outright and you've been riding awhile and he wanders off more than a few feet when you dismount you may have a mod conflict. :nod: