All the ods files on my computer are locked. I can't access them even if I change their name or move them into another folder. Every time I try to open them a hidden file named .~lock.file_name.ods# is created and it comes back every time I delete it. I tried opening them on another computer and it worked, so the files are fine both for opening and editing. It's just that I can't open them.
I started happening after my computer was brutally shut down (it froze after running out of battery and I had to brute force it into shutting down by pulling the battery out).
I'm the only one using this computer. It's not on a network. I am storing most of my files on a partition that is shared in common between Ubuntu and Windows 7 though.
Also, if I try to open the files using both Ubuntu and Windows and the reaction is different with both: Windows simply starts an infinite loading loop and never actually opens the file, while Ubuntu opens an older version of them (like several months old).
I tried uninstalling OpenOffice and then reinstalling it but it didn't change anything.
The two weirdest things are that 1) as far as I recall OpenOffice wasn't running when the freezing happened and 2) only ods files are concerned and odt files still open normally.