Secure Chests & Crowbar

Hello, here is my idea: make chests that can be secured for some players (whitelist of access to the chest) via a certain command , but that other players can use for example a stick with custom NBTs that would act as a crowbar and have a certain % chance of opening the chest otherwise the object would break.

I don’t know if it’s feasible but here it is

thank you in advance