title: Microsoft Update DriveItem API throwing locked exception if the file is open in desktop
body: <p>1.This is the behavior I am observing when I use  Update DriveItem graph API  to update my file name.<a href="https://docs.microsoft.com/en-us/graph/api/driveitem-update?view=graph-rest-1.0&amp;tabs=http" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/graph/api/driveitem-update?view=graph-rest-1.0&amp;tabs=http</a>. </p>
  
  <p>2.If the file is open in my office desktop document it throws locked exception. If i close the file renaming works fine.</p>
  
  <p>3.I tested same  in sharepoint  their  UI ,I am able to rename the file.But through graph API it throws locked exception if file is open. </p>
  
  <p>Is this error  expected ?. How can I get around this</p>
  
  <pre><code>https://docs.microsoft.com/en-us/graph/api/driveitem-update?view=graph-rest-1.0&amp;tabs=http.
  PATCH https://graph.microsoft.com/v1.0/drives/b!qnfox2pppU-AeWEPhWpRhNiB9gIq_ANJq5NFCiklU2Y5F3fDc7fsaQvB/items/014UHAXWYO5LX2RTA6YZE37E4XTG45PTTW
  SdkVersion : graph-java/v1.6.0
  Authorization : Bearer
  {"name":"V-blah (1) (113_0_4_26).docx"}
  
  423 : Locked
  Strict-Transport-Security : max-age=31536000
  Cache-Control : private
  x-ms-ags-diagnostic : {"ServerInfo":{"DataCenter":"West US","Slice":"SliceC","Ring":"5","ScaleUnit":"000","RoleInstance":"AGSFE_IN_57"}}
  client-request-id : 33f16bde-55d1-XXXX
  request-id : XXXXXXX
  Content-Length : 251
  Date : Sat, 02 May 2020 04:05:23 GMT
  Content-Type : application/json
  {
    "error": {
      "code": "resourceLocked",
      "message": "The resource you are attempting to access is locked",
      "innerError": {
        "request-id": "d1bfa1f2-cXXXXX",
        "date": "2020-05-02T04:05:23"
      }
    }
  }
  </code></pre>