Firefox Extension Auto Lock - not working on laptop screen close

I have the extension set to lock after 15 minutes. However, if it is unlocked when I close the screen, even if I come back 2 weeks later it will be unlocked when I open the extension. Is this by design, am I doing something wrong, or is there a suggested alternative?

Thank you