Lockscreen automatically relocks after unlock
I had a similar problem with my Samsung Tab A 2019 Edition, that's how I fixed it:

Shutdown
Hold Vol Up and then Power on
It should say Secure Boot or sth like that
Log into your WLAN/WIFI/idkWhatItsCalled
Look for android updates and install if any
Edit Security Options or disable
Restart device