rashmiwadhwa,
Thanks for letting us know. From what you described in your original post, it would be a good idea to check to see if the issue persists in safe mode.
Start up your Mac in safe mode - Apple Support
1) On your Mac, choose Apple menu
> Shut Down.
Wait for your Mac to shut down completely. A Mac is completely shut down when the screen is black and any lights (including in the Touch Bar) are off.
2) Press and hold the power button on your Mac until “Loading startup options” appears.
3) Select a volume.
4) Press and hold the Shift key, then click Continue in Safe Mode.
The computer restarts automatically. When the login window appears, you should see “Safe Boot” in the menu bar.
Performing this step above may help resolve the issue or allow us to isolate the problem further.
If you're still experiencing the same issue, then try testing in a new user to see if you're still noticing the same problem there: Change Users & Groups settings on Mac - Apple Support
Please do not hesitate to reach back out to us if you have questions or need any additional support.
Thanks for using the Apple Support Communities.
Cheers!