What does "locked up" in a relationship mean?

I've seen friends say things like "in 20 years we will be locked up" with their other halves. What does that mean?
What does "locked up" in a relationship mean?
Post Opinion