Lock retry usleep requires milliseconds

Convert the milliseconds wait interval value to microseconds in the
files locking app

Backport of 0557dfb46f462d925aaa5cb6537cc92bb73e2f31 to stable7