power: add callback for tracking power lock state