It is possible to override the configuration of many of the badges (it is, unfortunately, not perfectly well documented). You need to edit the yaml of the specific location card.
Go to your locations tab and press the pencil icon in the upper right corner.
Find the location you want to edit and press the menu button for that location and select “edit yaml”
Then you want to add a “badges” section to the config of that location card like this:
component: oh-location-card
config:
badges:
lock:
badge:
state: closed
stateOff: open
That config says “when the lock Item is ON use the ‘closed’ version of the lock icon and when the lock Item is OFF, use the ‘open’ version of the icon”.