I have an X1 Yoga which is capable of all of these things. It is a laptop with a good keyboard setup that can hold up it's own screen w/out a kickstand. When I don't want the keyboard I just fold it up and the keyboard changes to lift and lock so the back of it is solid making it easier to put on a stand (or A frame it and use a couple of books in a pinch. They sell one with linux preinstalled too.
I got mine in 2016 and it's been rock solid.