Android Vault Timeout On App restart not respected

I am on Android 12 on a Pixel 6.

I set to lock the vault on app restart. I set Unrestricted under battery usage. The vault is still locking without me restarting the app. Am I missing any other setting to ensure Android does not closes the app?