File is locked (ERR=138) The program does not allow shared access and attempts to access a file that has been locked by another user, or by the system. Change the OPEN statement to allow shared access or wait until the file is released by other user(s).