Lock files via Applescript?

I’m sure this is something simple, but I couldn’t find it documented anywhere. How do you do a Finder-lock of files via applescript? Thanks.

Try something like this:

tell application "Finder"
	set locked of someAlias to true
end tell

Perfect! Thanks.