Adjusting mushroom lock card content

I’d like to be able to fetch and show information from another entity, when using a Mushroom lock card, searching through this post, it wasn’t mentioned.

Would appreciate any help.