Dear teachers,
I can't really figure out the difference between "as long as" and "unless"
Could you help me with this, please?
If I take this example:

You can drive my car unless/as long as you drive carefully.

I feel that both could work, couldn't they?
Or maybe either brings a new meaning...

Which rule should I keep in mind to distinguish between the 2?

Thanks in advance!