You could try bFile.GetFileCopy before the Unlock. Just to make sure you have a local copy.
Were you able to find an answer to this? I'm having the same issue, but I don't want to GetFileCopy because I've done work on the file that I want to check in.
bfileID = aFolder.addfile(0, "File Path goes here")