Only risky if you don't do them properly.  There are lots of people over 60 at my gym doing those movements safely.  And if you think about it...what movement do you use to sit on the toilet?  Squat.  How do you pick up a grocery bag off the ground?  A deadlift.  These are essential movements.