Lockable Input Deck + expansion card slot

To be fair an expansion card lock is going to be fairly easy – you just 3d print a piece and figure out a way to wedge it in there.

What about input deck? my friend keep messing around with mine and putting my keyboard and such in hard to reach places

Locking the device in a secure cabinet or safe when not using it would be my first approach.

Second would be banishing said friend from being around. That is not a friend after being done more than once.