timed_lock_wait
status = timed_lock_wait(PSVC_LOCK_DISABLED);
status = timed_lock_wait(PSVC_LOCK_RUNNING);