1. You don't seem to know when you are lucky. ( Context will be shown in the picture below)
I think "know" is used intransitively, with when-clause being adverbial.
Another analysis is that "know" is a transitive verb here, and the when -clause, being a norminal relative clause, functions as its object.
The latter analysis suggests "when" is in the same sense as:
2. Do you remember when we went to Norway? That was a good trip. （LDOCE）
I'm not sure I agree. What do you think？Thank you.