There are a lot of issues here, but the last requires independent coasting, which is not at all common or cheap. Based on what you wrote, I would not recommend a tandem. You need to be much more solid on the bike, and you aren't there yet. I would really encourage you to try to borrow a tandem and get some help initially getting going on it. But the stoker leg-lockup issue is probably a show-stopper.