Enables calling of the QueryServiceLockStatus function to retrieve the lock status information for the database.