File locking with user names