When your physical keyboard is not working, you can always use the Touch keyboard or On-Screen ... However, if you want to open it in the default position where it is supposed to be opened ...
If you are in a Tablet Mode but your Touch Keyboard/On-Screen Keyboard is not appearing then you need to visit the Tablet settings and check if you have disabled “Show the touch keyboard when ...