Because in the standard lock screen you see notifications. iOS switches from the lock screen to the numpad when it detects a facemask, or after a timeout from the unlock gesture (swipe up).
It's confusing to show inputs that will then likely disappear in less than a second.