all of a sudden the cursor is frozen!!
Then eithehr the trackpad has failed or the system doesn't see it anymore. there is no Lock feature for the trackpad.
Try a SMC reset and see if that helps.
Intel-based Macs: Resetting the System Management Controller (SMC)
Retrieving data ...