This may not be enough, using a geared DC motor will give you prefect results.
Reduction gear boxes are made to increase the torke on the load side while decreasing speed. if you try to move the output shaft you will feel like it is stuck and locked, i don't want to go into mechanical details, but this is the best locking system ever used for robotics applications.
if you don't need a powerfull locking, dknguyen idea is way to go.
Actually you can try it by simply by making a shor-circuit on the motor wires and see for yourself if it is enough...