Groaning noise after car turned off

The groaning noise generally lasts - oh, I would say a few seconds. And it seems like there’s a bit of a pause between when the ignition is turned off and when the noise starts. I think it’s coming from the front but I could be mistaken. No idea about an adjustable shock mechanism…