Check if a lock exists.
Check if a lock exists.Checks for the existence of a lock. If the lock does not exist, LKR_OK will be returned. If the lock exists, a PID (an integer greater than zero) will be returned. Please refer to the documentation for the LKR_x constants for more information.