Depends on what you really want.
Do you want her to stay in her room? Or can you get comfortable with her in your bed?
She's been "locked" in her crib for the past 2 years...so "locking" her in her room isn't all that different. The difference is that she's got more space. Never, Never, Never (have i said that enough yet?) NEVER, put a lock/padlock/fliplock or other locking device on the door. It's not only a fire hazard, and cruel (she could see out of the bars of her crib, but this is solitary confinement with a solid door) but is also reason enough for CPS to "temporarily relocate" your daughter.
I'd actually recommend a dog gate suitable for a Great Dane sized dog. The view is the same as out her crib...but she'll be going nowhere fast.
If you can get comfortable with her in your bed for a little while, what we did was actually give our son the "treat" of sometimes starting out in our room. He could fall asleep in our bed, and then we'd move him. We were very up front that we WOULD move him, and made a big deal of his understanding. He could pick to start out in Mum & Dad's bed, but only if it was okay that he spent the rest of the night in his own bed. Eventually he got so used to the idea of staying in his own bed the whole night, that he actually preferred it there. We still "treat" him sometimes though. And of course, nightmares are a free ticket, but he always gets put back. I know later on I'm going to miss these times with all the snuggling, and floppy little arms and legs as I move him...they're gone in a blink.
*** On the subject of not staying in one place at night ***
My nephew wouldn't stay in his bed either. His parents finally convinced him that he couldn't come in their room to sleep when he woke up in the middle of the night. And then at 2 1/2 was found at 6am playing out in the parking lot. He'd drug a chair to the door, flipped the padlock, and climbed down three stories. No one knows how long he'd been there. HEART ATTACK.
Wherever your daughter ends up sleeping, a big sturdy gate in the doorway of that room, is a reeeeeally good idea until she's old enough to be to understand : Not leaving the house, not taking a bath, not 'cooking', not, not, not, etc.