Hi Ni, while it's not currently to set left/right shortcuts, you can set a Magnifier shortcut in the Quick Settings menu. Swipe down from the top of your screen, tap the pencil icon to edit, and scroll down to Magnifier. Drag the Magnifier setting to the top pane. Now you can open Magnifier from this menu even when the screen is locked.