if a file is locked/opened by a user and Graph API is trying to move/upload the file then error is coming that " the resource you are attempting to access is locked"
Can a action or Output is modified which can tell about the user who has checked in or locked the file.
DX Updated link ->