Fix pin lock and keypad lock on tablet and landscape orientation