The ubuntu-keyboard project only handles the OSK (which is disabled when a bluetooth keyboard is connected), I believe that activating the lock screen is handled by unity8 so I've reassigned this bug there, hope that helps.
** Package changed: ubuntu-keyboard (Ubuntu) => unity8 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1522126 Title: [BLUETOOTH KEYBOARD] Screen goes off (locking) while typing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1522126/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
