Customise clicking on tab / tab bar

I don't know if it's possible through other means, however the current feature I'd like expanded, only has one option: Double-click tabs to close them. My desire is to be able to double-click on a tab, and have it set as locked. I've realised I can hold Alt and click on a tab to cycle through the lock options, but I'd find it more convenient to define a user-defined command that could make the double-clicking a toggle, e.g. lock if unlocked, and vice versa (if possible).

Some of the other preferences have a drop-down list of options clicking could be assigned. They provide some flexibility, but I think it could be nice if one could define a custom command for any of these, i.e. for Click selected tab, Display new tab button, or Double-click to open a new tab.

Thanks!

- Directory Opus v12.23.3 Beta x64 Build 7752
- Windows 10 v20H2 OS Build 19042.870