A nice little door latch or bolt for you to 3D print.

We created it in Freecad and the printed it out.

You can now keep you bathroom door bolted but do it in what ever colour you like.

If you want to increase the strength of the bolt you can scale it up or use a material like nylon to print it.