locking the redo file for write