Not sure if this is helpful for your use case but we've customized this a bit where we display a component on an archived/locked topic. The component simply displays a note informing users about the status of the topic (locked) and to create a new post in case they need help.
Have a look here. I am sure you have seen similar "solutions" like this but you never know 😊
https://h30434.www3.hp.com/t5/Notebooks-Archive-Read-Only/Getting-rid-of-password-when-I-come-on-laptop/m-p/1543395#M3145659
'Have a nice day!
... View more