I haven’t read a lot about atropine being used for myopia in adults. There are data that show it slows myopia progression in children.
Basically the cilliary spams leads to psuedomyopia (your lens is locked in the near-focus state) and if you wear distance glasses to “correct” the problem your eyeball starts getting longer (axial myopia).
Atropine should paralyze the cilliary muscle temporarily, which stops the muscle spasm temporarily, but really you need to stop creating conditions where the muscle is contracted all the time (as @balinte89 said above). You can do that by not wearing distance correction for close-up work and making sure that your screens are at the maximum distance that you can comfortably use them with minimal distance correction.
I’m curious how atropine would work for you as an adult. Eye doctors typically use it so they can dilate your pupils and stop you from accommodating (focusing on near) when they examine your eyes.
You want to get your cilliary muscle unlocked and make the spams stop, but I’m not sure if atropine would help you jump through that first hoop faster or not.
It’s an interesting question!