I do not believe this behaviour is intentional.
I installed a virtual keyboard via the package manager, and then enabled it via System Settings → Keyboard → Virtual Keyboard, but it still does not display a virtual keyboard when the button is clicked on the lock screen.