Loyalty tridents return to spectators (but don't get picked up)
When enchanting the trident with Loyalty of any kind and throwing it to somewhere near, but before it returns turn into spectator mode and the Trident will not be collected and it will be following the spectator around.
I have linked a video to this here: https://youtu.be/AsBvZTOzUhU