Ideally it should be resolved but as always I will share the lack of developers excuse…it would be great if users with development experience can code and merge such changes / fixes.
I lost the PIN for the lock screen. To rename or delete the lockscreen settings I have to install TWRP - and therefore I need access to the phone… A diabolic circle.
Are there any other suggestions?
Also, if you can power down the device from the unlock screen (using button), you could reboot to fastboot/bootloader using the key combo, and boot or install TWRP from there.
To the phone, yes. To the lock screen, probably not.
Please have a look at the official TWRP documentation for your device at https://twrp.me/Devices/ for different ways to install or just boot TWRP on your device.