However, that's not always the case. Often, I find myself having to unlock the tablet first, which can be annoying, ...
but a silicone case with raised edges might do the trick too. Install a virtual keyboard on your Android tablet to enjoy touch-sensitive typing and smooth mouse movements using your PC or laptop.
The wrap-around physical keyboard cases are coming for leading Android phones, including the Motorola Razr foldable.