Can I put Entity actions behind a PIN?

Sorry if there’s already an existing topic on this - whenever I search I keep getting things contaning ‘ping’ instead of ‘PIN’!

I want to use a part of my Home Assistant frontend to always show a PIN panel, and on entering the correct PIN, toggles something on / off. I already have the second part of this as an entity card but want to put a PIN on it. Is that possible?

Thanks!
Cheers

Check out Restriction Card

Looks promising, will give it a go, thank you!