Welcome to Android Central forums.
When you say clear the lock screen do you mean bypass the lock code, pin, or pattern, to access the phone? Two things. First if it were simple to bypass a lock, it isn't a very good lock. Second if it were possible we don't discuss such things here.
If you are asking how to turn off your lock settings Gemini says.
To disable the security lock screen on a Samsung A52, you can go to Settings and change the lock screen type to None or Swipe. [1, 2]
Steps [1]
1. Open Settings
2. Select Lock Screen or Screen Lock type
3. Enter your current lock screen credentials
4. Select None or Swipe
Note [3]
• Disabling the screen lock removes any protection for your device. [3]
• Removing the PIN, pattern, or password will also remove any biometric data you may have saved to your device. [1]
• You can only use Fingerprints, Face, or Iris Unlock methods with a back up PIN, pattern, or password. [1]
Let us know what you find.