User Activity

Screen is not turning off during calls. When i press hard on sensor by hand then it is off with efforts. But when i check sensor of my device by applying code sensor works perfectly. Something is not right. Need advise !!
My fingerscan biometric scanner on galaxy A30s is not working. What should i do? Should i have to reset factory settings?
Following