Who owns your digital memories?

We share our lives on social media. What happens if we get locked out?