Yes, Samsung A12 supports double tap to wake but you might need to enable it first. Go to Settings -> Additional Features -> Motions and Gestures -> Toggle On the "Double tap to turn on-screen" button to enable double-tap to wake. If you like, you can also Toggle On the "double-tap to turn off screen" button to enable double-tap to turn off the screen.