To secure the screws on my glasses I put a drop of boiled linseed oil on the screw head after tightening them. This locks them in place but still allows them to be unscrewed if necessary.
A more modern version of this would be to put a drop of blue Loc-Tite on the threads, but I already had the BLO.