Lock component, open action and lock button, an interface bug?

Hello,

I’m using the lock component with the open_action (instead of on_lock+on_unlock) that should be suited for electronic locks.

These type of locks work with a 12v AC signal to latch the lock. Then they must be closed manually.

Unfortunately, “HA lovelace view” for this component, once the door is opened it keeps showing the lock button wich is a command you should not be able to send with the open_action.

Is it a bug?