An interesting old lock from the early 1800s
Looks hand made in parts.
I can see there are parts missing, possibly springs
It does manually slide open and closed
It can also be locked in place
Please see the pictures