Yeah, very good example.
Tweak things though to fit right for you. It actually takes practice and experimentation to come up with your perfect format. But I absolutely will (almost) guarantee that a warmup like that will allow you to lift heavier.
I'll be happy to rip your deadlifts or squats to shreds, lol, if you wish. But it will have to be a little tougue in cheek considering the weights you will probably be playing with.