How can I unlockWriter documents to edit on another computer?

I use both a laptop and a desktop computer. Both have the latest version of LibreOffice installed and both run Windows XP Pro, SP3. However, this has been a problem from when I first started using the laptop about a year ago, so it spans multiple versions of LibreOffice.

My files are on a flash drive. When I edit files in Writer on my laptop computer it locks them so they cannot be edited on my desktop computer. I have looked everywhere I can to find out how to turn this feature off. How can I turn off the lock feature in Writer (or Office?)

Do you closed the files before extract the flash drive?

Yes, I close the file and click on the safe removal icon in the taskbar.

@Newshawk – Did @manj_k’s answer help you? Are you still looking for an answer here?

You might edit main.xcd
[path: program_files\LibreOffice\share\registry\main.xcd]:

Modify the following default <value>true<value>

    <prop oor:name="UseDocumentSystemFileLocking" oor:type="xs:boolean" oor:nillable="false">
      <value>true</value>
    </prop>
    <prop oor:name="UseDocumentOOoLockFile" oor:type="xs:boolean" oor:nillable="false">
      <value>true</value>
    </prop>

… to customized <value>false<value>

    <prop oor:name="UseDocumentSystemFileLocking" oor:type="xs:boolean" oor:nillable="false">
      <value>false</value>
    </prop>
    <prop oor:name="UseDocumentOOoLockFile" oor:type="xs:boolean" oor:nillable="false">
      <value>false</value>
    </prop>

Save main.xcd.
Backup and reset your LibreOffice user profile, restart LibreOffice.