documents open in read only and does not allow to edit

G
get message that documents are read only

The lock file could not be created for exclusive access by LibreOffice, due to missing permission to create a lock file on that file location or lack of free disk space

Could you please elaborate what is the location of the files that gives this problem? and which is your OS and LO version?