First of all, that looks like a public gym, so I'd start wearing socks instead of barefooting it. This is for health reasons.
Most of your squat is ok, but you are rounding at the bottom, so keep your butt tighter.
What I do, is imagine that my pelvis is 'fused' to the rest of my spine, that way back stays flat.
To me, it doesn't look like you're locking out the RDL, I don't know if that was intentional or not. Use your ass some more too. Looks like you're breaking at your spine instead of your hip