I pack the threaded action screw holes with release paste wax, until it's flush with the mouth of the hole, when I wax the action bottom prior to mixing the bedding compound.
I also wax the extra-long headless screws, including packing their threads with paste wax.
(Because I've sadly left epoxy fingerprints on the outside of a finished stock, I also wax the entire stock outer surface w/o buffing)
I pack the action nooks/crannies/etc with kid's model clay (as above) to keep out the bedding compound & exclude locking the action mechanically to the stock or the bottom metal/etc.
When the waxed threaded screw is inserted through the uncured bedding compound, it will usually push aside the epoxy and enter the packed hole, where the screw's pressure will force out any stray epoxy along with a lot of the packing wax.
It does sometimes result in a small wax pocket between the dried bedding and the action, which should be later filled in with a little more epoxy after cleaning the paste wax out of the void.
The more time the method is used, more experience shows how much wax/etc to use, and where, to minimize pitfalls.
When a magazine well is packed with putty, sometimes a thin layer of bedding will cover the mag well, which is easily sliced through and pruned away after curing.
.