This is a sliding lock, designed by Bogul. I've made it easy to print it by including the 3MF project file where everything is in-situ. This saves the need for most of the support material and saves you from having to glue the pin into the bolt-bar because they're now printed already merged together.