I am sure I have seen spring loaded equivalent on gates, that will lock themselves.
Those are all examples of authentication. Not at all the purpose of the slide-to-open.
The earlier dumb-phones used to have a key-lock functionality where you would have to press a certain combination of keys in quick succession. Or just open a physical lid.
Using physical analogs has LONG been common.
The other day I used ProComm (yeah, I know, right!?). To close the connection, I clicked the phone icon and it animated showing the phone being placed back on the hook.