A good solution to keep screws from walking out is to use nail polish, colored or clear, just a little dab on the last few threads. As the screw is threaded in, the minute amount of polish will transfer along the full length. The polish hardens and provides a solid grip, however, when you want to it removed a solid twist is all that's needed. If the screws are typically of soft metal you can use a drop of nail polish remover on the edge of the head to seep down the length of it to loosen the grip. The nail polish remover is not harsh, so it won't mar the finish of your gun.
~ Or on the safer side, use a hair dryer to warm it up and it will let go (don't use a heat gun, it's way more heat than needed and you risk the finish and wood of your gun). When you've removed the screw, clean it thoroughly prior to replacing it.
I've done this with most of my guns for sights, scopes, and other accessories ~ high-power rifle, AR15 (5,000+ rounds and holding), pistols, and "western Canada standard issue 10/22, fully modified

"
Use this for vehicle stuff as well.
Learned this trick from our family friend heavy duty mechanic, and yes he keeps a bottle of CLEAR nail polish in his tool box beside the blue and red loctite.
Hope this helps, happy blasting!