Obtain current lock timeout setting.
The single-user package does not support db_set_timeout or db_get_timeout. In the single-user library, this function will return DB_WTIME_FAIL with the error code DB_ENOTIMPL.