need help bitwarden Firefox extension getting logged out after i lock my laptop.

I have setup it as when i close my browser window it should lock that is working fine but when i lock my laptop[M2 Macbook air] it is getting logged out for some reason don't know why need help!!

https://preview.redd.it/hj4aws7vml5d1.png?width=858&format=png&auto=webp&s=3bd06e812fa1fe01c1bb1d9055a44b2d69b81ff5