This is a small sliding cupboard/door bolt.
I have added slots in the main body to allow the bolt to be locked into the opened and closed positions.
Assembly should be simple. just a little but not too much superglue on the pin when assembling the main body.
If the small pin is not printing properly, try laying it flat or maybe on a raft.
As for print settings, 50-80% infill at least 2 shells (perimeters)
If the body or receiver is too tight, try cleaning up with an 8mm drill run backwards. (be careful doing this,
The sliding bar is deliberately flat on one side so it can be printed horizontally.