Lock test tweaks

- Use the lock provided reader/writer constants
  to differentiate on.
- Add a fake amount of work time to simulate some
  activity happening when acquiring the lock.

Change-Id: I8c6c2db35d4c3324a6476e45399b6fa6f91a61e1
Merge "Lock test tweaks"