Fixed #212

locks with depth infinite are now allowed on non-collection resources for better compatibility with MS Office