To my knowledge, the advancement checks if you use a trial (not ominous) key on a vault. This causes two main issues:
1. Opening an ominous vault does not give the advancement, as you are using an ominous key, not a trial key.
2. Interacting with an ominous vault using a trial key gives the advancement, even though the vault does not open.
Thank you for your report!
We're actually already tracking this issue in MC-269957 and MC-269969, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote or any additional information to the main tickets it would be appreciated.
Please be sure to use the search feature before creating a ticket to see if the issue has already been reported.
Quick Links:
📗 Tracker Guidelines | 🛠 Community Support | 📧 Mojang Support | 🔑 Account Support | ✍️ Feedback Discord