The Sojourner didn't have a brig, but it did have four berths, each of which had a single bunkbed inside. With the major and Dorothy together, and Karl and Martin together, that left James with her own. It was there they took the pony, to the empty bottom bunk. There was no need to lock the doors—they required an implant to open. No implants, and the pony wouldn't be getting out.