Apropos of ' "Lo que" vs "la cosa que" ', I sometimes see "cosa que" used to mean "which", as in
Querían detenerme por robo, cosa que no hice.
Is this usage correct? If so, is there a lesson that discusses it?
More examples here:
https://context.reverso.net/translation/spanish-english/%2C+cosa+que
Thanks!