I made this Lock Mount for my new bike. The Lock ist held by friction. Didnt have any problems so far, even on rougher terrain.
See the .3mf project file for print settings. I basically just did a lot perimeters. Also the print needs support.
There ist also the f3d file, so feel free to make adjustments to the design. Try to contact me, if you have any questions.
This design was heavily inspired by this design:
https://www.thingiverse.com/thing:4841864
The author marked this model as their own original creation.