Subject: Re: Joe Biden sent the orders
If a President could manage to convince the military to lock up a political opponent, do you think that a judge's order to release that person will be followed?

Yes. Even Trump abided by all the court orders that went against him: the ones where he lost his election challenges, the ones where his immigration policies were shut down, etc. Especially since the order wouldn't apply just to the President - after all, the President isn't the one who is actually keeping Trump locked up in Gitmo. It would be issued to the Secretary of Defense as well, and he isn't immune from going to jail.