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 Touch seeded packages, which is subscribed to unity8 in Ubuntu. https://bugs.launchpad.net/bugs/1522126 Title: [BLUETOOTH KEYBOARD] Screen goes off (locking) while typing Status in unity8 package in Ubuntu: New Bug description: When I am using my bluetooth keyboard then the screen will be locked after the time that is in the settings after no activity. That is strange because typing a keyboard is activity. When typing an long mail or something else then the screen is locking. This is een repeating bug. Only with my bluetooth keyboard and not with my bluetooth mouse. I was guessing that the bug belongs here or else it will be under bluetooth. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1522126/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp