Add support for refreshing devicelock state and initiating device lock based device clearing